chengf
2026-01-27 b6184e2ddf3db37a94f7efb3b619bbc64642a292
service-fee/src/main/java/com/java110/fee/cmd/feeConfig/UpdateFeeConfigCmd.java
@@ -61,10 +61,10 @@
        feeConfigDto.setConfigId(reqJson.getString("configId"));
        List<FeeConfigDto> feeConfigDtos = feeConfigInnerServiceSMOImpl.queryFeeConfigs(feeConfigDto);
        Assert.listOnlyOne(feeConfigDtos, "未找到该费用项");
        int validCount = feeInnerServiceSMO.countValidPayFeeByConfigId(reqJson.getString("configId"));
        if (validCount > 0) {
            throw new CmdException("关联生效中费用,无法修改,请撤销关联费用后重试!");
        }
//        int validCount = feeInnerServiceSMO.countValidPayFeeByConfigId(reqJson.getString("configId"));
//        if (validCount > 0) {
//            throw new CmdException("关联生效中费用,无法修改,请撤销关联费用后重试!");
//        }
        JSONObject businessFeeConfig = new JSONObject();
        businessFeeConfig.putAll(reqJson);
        businessFeeConfig.put("isDefault", feeConfigDtos.get(0).getIsDefault());