Merge remote-tracking branch 'origin/master' into master
正在显示
1 个修改的文件
包含
4 行增加
和
2 行删除
... | @@ -120,6 +120,7 @@ public class SafetyEnvironmentFeeController { | ... | @@ -120,6 +120,7 @@ public class SafetyEnvironmentFeeController { |
120 | Map<String, String> sysDepartDictMap = businessService.dictMap("sys_depart", null); | 120 | Map<String, String> sysDepartDictMap = businessService.dictMap("sys_depart", null); |
121 | Map<String, String> safetyEnvironmentProtectionFeeDictMap = businessService.dictMap("safety_environment_protection_fee", null); | 121 | Map<String, String> safetyEnvironmentProtectionFeeDictMap = businessService.dictMap("safety_environment_protection_fee", null); |
122 | Map<String, String> energyEnvironmentProtectionFeeDictMap = businessService.dictMap("energy_environment_protection_fee", null); | 122 | Map<String, String> energyEnvironmentProtectionFeeDictMap = businessService.dictMap("energy_environment_protection_fee", null); |
123 | Map<String, String> ynDictMap = businessService.dictMap("yn", null); | ||
123 | // 封装结果 | 124 | // 封装结果 |
124 | IPage<Map<String, Object>> mapIPage = new Page<>(pageNo, pageSize); | 125 | IPage<Map<String, Object>> mapIPage = new Page<>(pageNo, pageSize); |
125 | mapIPage.setTotal(safetyEnvironmentFeeIPage.getTotal()); | 126 | mapIPage.setTotal(safetyEnvironmentFeeIPage.getTotal()); |
... | @@ -127,12 +128,13 @@ public class SafetyEnvironmentFeeController { | ... | @@ -127,12 +128,13 @@ public class SafetyEnvironmentFeeController { |
127 | Map<String, Object> entityMap = BeanUtil.beanToMap(item); | 128 | Map<String, Object> entityMap = BeanUtil.beanToMap(item); |
128 | entityMap.put("departName", sysDepartDictMap.get(item.getDepartId())); | 129 | entityMap.put("departName", sysDepartDictMap.get(item.getDepartId())); |
129 | // 安全环保费 | 130 | // 安全环保费 |
130 | if ("1".equals(feeDict)) { | 131 | if ("safety_environment_protection_fee".equals(feeDict)) { |
131 | entityMap.put("feeType_dictText", safetyEnvironmentProtectionFeeDictMap.get(item.getFeeType())); | 132 | entityMap.put("feeType_dictText", safetyEnvironmentProtectionFeeDictMap.get(item.getFeeType())); |
132 | } else if ("2".equals(feeDict)) { | 133 | } else if ("energy_environment_protection_fee".equals(feeDict)) { |
133 | // 节能环保费 | 134 | // 节能环保费 |
134 | entityMap.put("feeType_dictText", energyEnvironmentProtectionFeeDictMap.get(item.getFeeType())); | 135 | entityMap.put("feeType_dictText", energyEnvironmentProtectionFeeDictMap.get(item.getFeeType())); |
135 | } | 136 | } |
137 | entityMap.put("budgetFlag_dictText", ynDictMap.get(item.getBudgetFlag())); | ||
136 | return entityMap; | 138 | return entityMap; |
137 | }).collect(Collectors.toList())); | 139 | }).collect(Collectors.toList())); |
138 | result.setResult(mapIPage); | 140 | result.setResult(mapIPage); | ... | ... |
-
请 注册 或 登录 后发表评论