|
@@ -9109,7 +9109,6 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
//deptIds:管理的部门;filterDeptIds:筛选的部门;deptRelatedProjectIds:负责部门相关联的项目
|
|
//deptIds:管理的部门;filterDeptIds:筛选的部门;deptRelatedProjectIds:负责部门相关联的项目
|
|
List<Map<String, Object>> list = projectMapper.getExportDegreeCost(companyId, startDate, endDate,projectId,deptIds,filterDeptIds,deptRelatedProjectIds);
|
|
List<Map<String, Object>> list = projectMapper.getExportDegreeCost(companyId, startDate, endDate,projectId,deptIds,filterDeptIds,deptRelatedProjectIds);
|
|
TimeType timeType = timeTypeMapper.selectById(companyId);
|
|
TimeType timeType = timeTypeMapper.selectById(companyId);
|
|
- BigDecimal totalMoneyCost = BigDecimal.valueOf(0);
|
|
|
|
List<List<String>> allList=null ;
|
|
List<List<String>> allList=null ;
|
|
List<String> sumRow = null;
|
|
List<String> sumRow = null;
|
|
List<String> headList = new ArrayList<String>();
|
|
List<String> headList = new ArrayList<String>();
|
|
@@ -9135,6 +9134,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
|
|
|
allList=new ArrayList<>();
|
|
allList=new ArrayList<>();
|
|
allList.add(headList);
|
|
allList.add(headList);
|
|
|
|
+ BigDecimal totalMoneyCost = BigDecimal.valueOf(0);
|
|
double totalCostTime = 0;
|
|
double totalCostTime = 0;
|
|
for (Map<String, Object> map : list) {
|
|
for (Map<String, Object> map : list) {
|
|
if (!map.containsKey("cost")) {
|
|
if (!map.containsKey("cost")) {
|
|
@@ -9165,7 +9165,7 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
if (map.containsKey("id")){
|
|
if (map.containsKey("id")){
|
|
degreeId = map.get("id").toString();
|
|
degreeId = map.get("id").toString();
|
|
}
|
|
}
|
|
- List<Map<String, Object>> membList = projectMapper.getDegreeDetailCost(companyId,startDate, endDate,degreeId,filterDeptIds);
|
|
|
|
|
|
+ List<Map<String, Object>> membList = projectMapper.getDegreeDetailCost(companyId,startDate, endDate,degreeId,deptIds,filterDeptIds,deptRelatedProjectIds);
|
|
map.put("membList", membList);
|
|
map.put("membList", membList);
|
|
for (Map<String, Object> membMap : membList) {
|
|
for (Map<String, Object> membMap : membList) {
|
|
List<String> membRowData = new ArrayList<String>();
|
|
List<String> membRowData = new ArrayList<String>();
|