This commit is contained in:
mashuai 2025-08-14 18:09:11 +08:00
parent db1af62b49
commit e72f810b2a
1 changed files with 2 additions and 0 deletions

View File

@ -326,6 +326,8 @@ public class LeaseOutDetailsServiceImpl implements ILeaseOutDetailsService {
materialLeaseApplyInfo.setLeaseStyle(SYNC_RESOURCE.toString()); materialLeaseApplyInfo.setLeaseStyle(SYNC_RESOURCE.toString());
materialLeaseApplyInfo.setTeamId(bmAgreementInfo.getUnitId().toString()); materialLeaseApplyInfo.setTeamId(bmAgreementInfo.getUnitId().toString());
materialLeaseApplyInfo.setProjectId(record.getLeaseProjectId().toString()); materialLeaseApplyInfo.setProjectId(record.getLeaseProjectId().toString());
materialLeaseApplyInfo.setCreateTime(DateUtils.getNowDate());
materialLeaseApplyInfo.setCreateBy(SecurityUtils.getLoginUser().getSysUser().getNickName());
int count = materialLeaseInfoMapper.insertLeaseApplyInfo(materialLeaseApplyInfo); int count = materialLeaseInfoMapper.insertLeaseApplyInfo(materialLeaseApplyInfo);
if (count > GlobalConstants.INT_0) { if (count > GlobalConstants.INT_0) {
return insertPurchaseCheckDetails(record, createBy, tmTask.getTaskId(), materialLeaseApplyInfo.getId()); return insertPurchaseCheckDetails(record, createBy, tmTask.getTaskId(), materialLeaseApplyInfo.getId());