| | |
| | | @Autowired |
| | | private IPayFeeV1InnerServiceSMO payFeeV1InnerServiceSMOImpl; |
| | | |
| | | @Autowired |
| | | private IPayFeeMonth payFeeMonthImpl; |
| | | |
| | | @Autowired |
| | | private IFeeAttrInnerServiceSMO feeAttrInnerServiceSMOImpl; |
| | |
| | | payFeePo.setState(FeeDto.STATE_DOING); |
| | | payFeePo.setBatchId(reqJson.getString("batchId")); |
| | | payFeePo.setUserId("-1"); |
| | | |
| | | //todo 先写 不然 写月离散表 查询费用时 查不到 |
| | | reqJson.put("feeId", payFeePo.getFeeId()); |
| | | addMeterWater(reqJson); |
| | | |
| | | int flag = payFeeV1InnerServiceSMOImpl.savePayFee(payFeePo); |
| | | if (flag < 1) { |
| | | throw new CmdException("保存数据失败"); |
| | |
| | | throw new CmdException("保存数据失败"); |
| | | } |
| | | } |
| | | reqJson.put("feeId", payFeePo.getFeeId()); |
| | | |
| | | payFeeMonthImpl.doGeneratorOrRefreshFeeMonth(payFeePo.getFeeId(), reqJson.getString("communityId")); |
| | | addMeterWater(reqJson); |
| | | } |
| | | cmdDataFlowContext.setResponseEntity(ResultVo.success()); |
| | | } |