仓库添加负责人字段
This commit is contained in:
@@ -39,7 +39,7 @@ public class PersonComponent 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");
|
||||
String type = StringUtil.getInfo(search, "type");
|
||||
|
||||
@@ -38,7 +38,7 @@ public class PersonService {
|
||||
return personMapperEx.selectByConditionPerson(name, type, offset, rows);
|
||||
}
|
||||
|
||||
public int countPerson(String name, String type) {
|
||||
public Long countPerson(String name, String type) {
|
||||
return personMapperEx.countsByPerson(name, type);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user