|
@@ -350,7 +350,7 @@ public class CostDepartmentProfitServiceImpl extends BaseBatchServiceImpl<CostDe
|
|
|
i.setAmount(setSubtotal(i, costShareLevelList, listMap, list, incomeList, allocationQueryReportVOList, reportRelationMap, allocationList, allList));
|
|
i.setAmount(setSubtotal(i, costShareLevelList, listMap, list, incomeList, allocationQueryReportVOList, reportRelationMap, allocationList, allList));
|
|
|
} else if (NumberConstant.FOUR.equals(calcType)) {
|
|
} else if (NumberConstant.FOUR.equals(calcType)) {
|
|
|
// TODO 按照计算公式进行计算
|
|
// TODO 按照计算公式进行计算
|
|
|
- i.setAmount(setCalculation(i, list, costShareLevelList, listMap, incomeList, allocationQueryReportVOList, reportRelationMap, allocationList, allList));
|
|
|
|
|
|
|
+// i.setAmount(setCalculation(i, list, costShareLevelList, listMap, incomeList, allocationQueryReportVOList, reportRelationMap, allocationList, allList));
|
|
|
} else if (NumberConstant.FIVE.equals(calcType)) {
|
|
} else if (NumberConstant.FIVE.equals(calcType)) {
|
|
|
// TODO 按照责任中心进行计算
|
|
// TODO 按照责任中心进行计算
|
|
|
i.setAmount(setResponsibilityCode(i, reportRelationMap, allocationList, allList));
|
|
i.setAmount(setResponsibilityCode(i, reportRelationMap, allocationList, allList));
|
|
@@ -1497,6 +1497,7 @@ public class CostDepartmentProfitServiceImpl extends BaseBatchServiceImpl<CostDe
|
|
|
commonTitleReportVo.setDataType(reportForm.getDataType());
|
|
commonTitleReportVo.setDataType(reportForm.getDataType());
|
|
|
commonTitleReportVo.setDecimalPlace(reportForm.getDecimalPlace());
|
|
commonTitleReportVo.setDecimalPlace(reportForm.getDecimalPlace());
|
|
|
commonTitleReportVo.setPermil(reportForm.getPermil());
|
|
commonTitleReportVo.setPermil(reportForm.getPermil());
|
|
|
|
|
+ commonTitleReportVo.setFontColor(reportForm.getFontColor());
|
|
|
return commonTitleReportVo;
|
|
return commonTitleReportVo;
|
|
|
}).collect(Collectors.toList());
|
|
}).collect(Collectors.toList());
|
|
|
// List<CommonTitleReportVo> commonTitleReportVos = BeanUtil.convertList(reportFormList,CommonTitleReportVo.class);
|
|
// List<CommonTitleReportVo> commonTitleReportVos = BeanUtil.convertList(reportFormList,CommonTitleReportVo.class);
|
|
@@ -2063,6 +2064,7 @@ public class CostDepartmentProfitServiceImpl extends BaseBatchServiceImpl<CostDe
|
|
|
profitVo.setDataType(profitReportFormList.get(NumberConstant.ZERO).getDataType());
|
|
profitVo.setDataType(profitReportFormList.get(NumberConstant.ZERO).getDataType());
|
|
|
profitVo.setDecimalPlace(profitReportFormList.get(NumberConstant.ZERO).getDecimalPlace());
|
|
profitVo.setDecimalPlace(profitReportFormList.get(NumberConstant.ZERO).getDecimalPlace());
|
|
|
profitVo.setPermil(profitReportFormList.get(NumberConstant.ZERO).getPermil());
|
|
profitVo.setPermil(profitReportFormList.get(NumberConstant.ZERO).getPermil());
|
|
|
|
|
+ profitVo.setFontColor(profitReportFormList.get(NumberConstant.ZERO).getFontColor());
|
|
|
} else {
|
|
} else {
|
|
|
profitVo.setDataType(NumberConstant.ONE);
|
|
profitVo.setDataType(NumberConstant.ONE);
|
|
|
profitVo.setDecimalPlace(NumberConstant.TWO);
|
|
profitVo.setDecimalPlace(NumberConstant.TWO);
|
|
@@ -2137,6 +2139,7 @@ public class CostDepartmentProfitServiceImpl extends BaseBatchServiceImpl<CostDe
|
|
|
profitVo.setDataType(profitReportFormList.get(NumberConstant.ZERO).getDataType());
|
|
profitVo.setDataType(profitReportFormList.get(NumberConstant.ZERO).getDataType());
|
|
|
profitVo.setDecimalPlace(profitReportFormList.get(NumberConstant.ZERO).getDecimalPlace());
|
|
profitVo.setDecimalPlace(profitReportFormList.get(NumberConstant.ZERO).getDecimalPlace());
|
|
|
profitVo.setPermil(profitReportFormList.get(NumberConstant.ZERO).getPermil());
|
|
profitVo.setPermil(profitReportFormList.get(NumberConstant.ZERO).getPermil());
|
|
|
|
|
+ profitVo.setFontColor(profitReportFormList.get(NumberConstant.ZERO).getFontColor());
|
|
|
} else {
|
|
} else {
|
|
|
profitVo.setDataType(NumberConstant.ONE);
|
|
profitVo.setDataType(NumberConstant.ONE);
|
|
|
profitVo.setDecimalPlace(NumberConstant.TWO);
|
|
profitVo.setDecimalPlace(NumberConstant.TWO);
|
|
@@ -3632,6 +3635,7 @@ public class CostDepartmentProfitServiceImpl extends BaseBatchServiceImpl<CostDe
|
|
|
vo.setPermil(reportForm.getPermil());
|
|
vo.setPermil(reportForm.getPermil());
|
|
|
vo.setDataType(reportForm.getDataType());
|
|
vo.setDataType(reportForm.getDataType());
|
|
|
vo.setDecimalPlace(reportForm.getDecimalPlace());
|
|
vo.setDecimalPlace(reportForm.getDecimalPlace());
|
|
|
|
|
+ vo.setFontColor(reportForm.getFontColor());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|