仓库添加负责人字段

This commit is contained in:
qiankunpingtai
2019-02-26 15:18:38 +08:00
parent c60568380e
commit 86b9ae9005
101 changed files with 402 additions and 118 deletions

View File

@@ -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);

View File

@@ -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);
}