diff --git a/mhd-modules/mhd-system/src/main/java/com/mhd/basic/application/service/contractManage/ContractManageApplicationService.java b/mhd-modules/mhd-system/src/main/java/com/mhd/basic/application/service/contractManage/ContractManageApplicationService.java index 8e696bb0a..4fd467487 100644 --- a/mhd-modules/mhd-system/src/main/java/com/mhd/basic/application/service/contractManage/ContractManageApplicationService.java +++ b/mhd-modules/mhd-system/src/main/java/com/mhd/basic/application/service/contractManage/ContractManageApplicationService.java @@ -175,11 +175,14 @@ public class ContractManageApplicationService { if (fieldsName != null && ("装卸费单价".equals(fieldsName) || "纸箱贴标单价".equals(fieldsName)||"木箱贴标单价".equals(fieldsName) || "进出仓操作费单价".equals(fieldsName))) { - Map subjectAndPrice = billingParamsList.get(0); - String sort = (String) stringObjectMap.get("sort"); + Map subjectAndPrice = new HashMap<>(); + Integer sort = (Integer) stringObjectMap.get("sort"); + String chargingId = (String) stringObjectMap.get("chargingId"); String price = (String) stringObjectMap1.get("fields" + sort); subjectAndPrice.put("name", fieldsName); subjectAndPrice.put("price", price); + subjectAndPrice.put("chargingId", chargingId); + subjectAndPrice.put("billingRulesId", billingRulesId); result.add(subjectAndPrice); } }