仓库添加负责人字段
This commit is contained in:
@@ -37,7 +37,7 @@ public class RoleComponent implements ICommonQuery {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int counts(Map<String, String> map) {
|
||||
public Long counts(Map<String, String> map) {
|
||||
String search = map.get(Constants.SEARCH);
|
||||
String name = StringUtil.getInfo(search, "name");
|
||||
return roleService.countRole(name);
|
||||
|
||||
@@ -40,7 +40,7 @@ public class RoleService {
|
||||
return roleMapperEx.selectByConditionRole(name, offset, rows);
|
||||
}
|
||||
|
||||
public int countRole(String name) {
|
||||
public Long countRole(String name) {
|
||||
return roleMapperEx.countsByRole(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user