Просмотр исходного кода

医院科室直接成本表只显示人员经费的问题处理

JammeyJiang 2 недель назад
Родитель
Сommit
7d927bda78

+ 2 - 2
src/main/java/com/kcim/service/impl/StandardReportServiceImpl.java

@@ -2071,11 +2071,11 @@ public class StandardReportServiceImpl implements StandardReportService {
         if (accountType == null) {
             return; // 添加 null 检查
         }
+        DictDataVo costType = standCostDictMaps.getCostTypeMap().get(String.valueOf(account.getCostType()));
         //只处理医疗成本
-        if(!NumberConstant.ONE_S.equals(accountType.getExpandOne()) ){
+        if(!NumberConstant.ONE_S.equals(costType.getExpandOne()) ){
             return;
         }
-        DictDataVo costType = standCostDictMaps.getCostTypeMap().get(String.valueOf(account.getCostType()));
         DictDataVo standardShareLevel = standCostDictMaps.getStandardShareLevelMap().get(responsibility.getStandardShareLevel());
         DeptDirectMedicalCostVO deptDirectMedicalCostVO= new DeptDirectMedicalCostVO();
         if(deptDirectMedicalCostMap.containsKey(allocationQuery.getResponsibilityCode())){