|
|
@ -415,6 +415,10 @@ public class UnplannedreceiptRecordMainServiceImpl implements UnplannedreceiptRe |
|
|
|
unplannedreceiptRecordDetailDO.setMasterId(unplannedreceiptRecordMainDONew.getId()); |
|
|
|
unplannedreceiptRecordDetailDO.setNumber(number); |
|
|
|
unplannedreceiptRecordDetailDO.setAmount(unplannedreceiptRecordDetailDO.getAmount().negate()); |
|
|
|
unplannedreceiptRecordDetailDO.setCreateTime(LocalDateTime.now()); |
|
|
|
unplannedreceiptRecordDetailDO.setCreator(null); |
|
|
|
unplannedreceiptRecordDetailDO.setUpdateTime(null); |
|
|
|
unplannedreceiptRecordDetailDO.setUpdater(null); |
|
|
|
unplannedreceiptRecordDetailDOList.add(unplannedreceiptRecordDetailDO); |
|
|
|
} |
|
|
|
unplannedreceiptRecordDetailMapper.insertBatch(unplannedreceiptRecordDetailDOList); |
|
|
|