Commit 93bae80a authored by lanbaoming's avatar lanbaoming

2024-05-03修改BUG

parent 5643d79b
......@@ -328,6 +328,13 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
}
}
/* lanbm 2024-05-11 添加注释
//result
1, "处理中",
2, "通过",
3, "不通过",
4, "取消"
*/
@Override
@Transactional(rollbackFor = Exception.class)
public void updateFeeApproveBatchResult(String id, int result) {
......@@ -347,6 +354,7 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
DictDataRespDTO dictDto = DictFrameworkUtils.getDictDataFromCache("receivable_fee_type", String.valueOf(feeApplicationDO.getFeeType()));
if (feeApplicationDO.getReceivableId() != null && feeApplicationDO.getReceivableId() > 0) {
ReceivableDO receivableDO = new ReceivableDO();
//应收款ID lanbm 2024-05-11 添加注释
receivableDO.setId(Long.valueOf(feeApplicationDO.getReceivableId()));
receivableDO.setTitleZh(dictDto.getLabel());
receivableDO.setTitleEn(dictDto.getLabelEn());
......@@ -363,6 +371,8 @@ public class OrderFeeApplicationServiceImpl extends AbstractService<OrderFeeAppl
receivableDO.setFeeSource(2);
receivableDO.setAuthor(feeApplicationDO.getApplicationAuthor());
receivableDO.setRemark(feeApplicationDO.getRemarks());
//lanbm 2024-05-11 添加注释,订单费用申请,是申请付给我们的费用,
// 所以要更新应收款信息
receivableService.updateReceivableById(receivableDO);
} else {
ReceivableCreateReqVO receivableCreateReqVO = new ReceivableCreateReqVO();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment