领料接口优化

This commit is contained in:
sxu 2024-11-12 15:21:49 +08:00
parent 59febbed55
commit aec9b5b3f6
1 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,8 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
if (!CollectionUtils.isEmpty(leaseApplyDetailsList)) { if (!CollectionUtils.isEmpty(leaseApplyDetailsList)) {
for (LeaseApplyDetails details : leaseApplyDetailsList) { for (LeaseApplyDetails details : leaseApplyDetailsList) {
details.setParentId(taskId); // 设置领料taskId details.setParentId(taskId); // 设置领料taskId
details.setCreateTime(DateUtils.getNowDate());
details.setCreateBy(SecurityUtils.getUsername());
//details.setStatus(PurchaseTaskStatusEnum.TO_NOTICE.getStatus()); //details.setStatus(PurchaseTaskStatusEnum.TO_NOTICE.getStatus());
} }
// 批量插入详情数据 // 批量插入详情数据