Commit 7eb6733e authored by nie'hong's avatar nie'hong

完善工时统计

parent 7d4aad53
...@@ -176,11 +176,12 @@ public class StatisticsServiceImpl implements StatisticsService { ...@@ -176,11 +176,12 @@ public class StatisticsServiceImpl implements StatisticsService {
map.put("statusArray", statusArray); map.put("statusArray", statusArray);
// 查询用户负责的项目和商机id // 查询用户负责的项目和商机id
List<Integer> projectIdList = workProjectMapper.getProjectIdByManager(userId); List<Integer> projectIdList = workProjectMapper.getProjectIdByManager(userId);
Integer notCompletedCount1 = 0;
if (CollectionUtil.isNotEmpty(projectIdList)) { if (CollectionUtil.isNotEmpty(projectIdList)) {
map.put("projectIdList", projectIdList); map.put("projectIdList", projectIdList);
// 项目和商机的未审批的数
notCompletedCount1 = workTimeOrderMapper.getCountByCondition(map);
} }
// 项目和商机的未审批的条数
Integer notCompletedCount1 = workTimeOrderMapper.getCountByCondition(map);
// 查询用户负责审批的除项目合商机的其余类型 // 查询用户负责审批的除项目合商机的其余类型
Integer notCompletedCount2 = 0; Integer notCompletedCount2 = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment