This commit is contained in:
linfso 2024-10-13 21:05:53 +08:00
parent 5450dc7c32
commit 9f3b9b82dc

View File

@ -108,8 +108,10 @@ public class EmisTmsCostFeeServiceImpl implements IEmisTmsCostFeeService
// 插入关联单号
for (EmisTmsCostFeeRel costFeeRel:emisTmsCostFee.getBillRelList()
) {
costFeeRel.setCostNo(costNo);
emisTmsCostFeeRelMapper.insertEmisTmsCostFeeRel(costFeeRel);
EmisTmsCostFeeRel newCostFeeRel = new EmisTmsCostFeeRel();
newCostFeeRel.setCostNo(costNo);
newCostFeeRel.setBillCode(costFeeRel.getBillCode());
emisTmsCostFeeRelMapper.insertEmisTmsCostFeeRel(newCostFeeRel);
}
emisTmsCostFeeMapper.insertEmisTmsCostFee(emisTmsCostFee);