我的申请模糊查询bug?
This commit is contained in:
parent
6d11d96360
commit
7429fb7a31
|
@ -252,7 +252,8 @@ public class ActHistoryService {
|
|||
params.put("startBy", SecurityUser.getUserId().toString());
|
||||
PageData<ProcessInstanceDTO> pageData = this.getHistoryProcessInstancePage(params);
|
||||
if (params.containsKey("name") && StringUtils.isNotBlank(params.get("name").toString())) {
|
||||
params.put("limit", String.valueOf(pageData.getTotal()));
|
||||
// TODO 为啥这么处理?
|
||||
// params.put("limit", String.valueOf(pageData.getTotal()));
|
||||
pageData = this.getHistoryProcessInstancePage(params);
|
||||
}
|
||||
List<ProcessInstanceDTO> list = pageData.getList();
|
||||
|
|
|
@ -428,7 +428,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
|
||||
@Override
|
||||
public List<String> selectDeptProvide(Long deptId) {
|
||||
|
||||
|
||||
return baseDao.selectDeptProvide(deptId);
|
||||
}
|
||||
|
||||
|
@ -477,7 +477,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
List<Map<String, Object>> typeCountListByDept = resourceDao.selectDeptTypeCountList();
|
||||
Map<String, List<Map<String, Object>>> typeCountListMap = typeCountListByDept.stream().collect(Collectors.groupingBy(m -> m.get("deptName").toString()));
|
||||
ArrayList<Map> resultList = new ArrayList<>();
|
||||
typeCountListMap.forEach((k,v) -> {
|
||||
typeCountListMap.forEach((k, v) -> {
|
||||
HashMap<Object, Object> map = new HashMap<>();
|
||||
map.put("name", k);
|
||||
v.forEach(item -> {
|
||||
|
@ -493,7 +493,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
List<Map<String, Object>> typeCountListByApplyDept = resourceDao.selectApplyDeptTypeCountList();
|
||||
Map<String, List<Map<String, Object>>> typeCountListMap = typeCountListByApplyDept.stream().collect(Collectors.groupingBy(m -> m.get("deptName").toString()));
|
||||
ArrayList<Map> resultList = new ArrayList<>();
|
||||
typeCountListMap.forEach((k,v) -> {
|
||||
typeCountListMap.forEach((k, v) -> {
|
||||
HashMap<Object, Object> map = new HashMap<>();
|
||||
map.put("name", k);
|
||||
v.forEach(item -> {
|
||||
|
|
Loading…
Reference in New Issue