This commit is contained in:
parent
db1af62b49
commit
e72f810b2a
|
|
@ -326,6 +326,8 @@ public class LeaseOutDetailsServiceImpl implements ILeaseOutDetailsService {
|
|||
materialLeaseApplyInfo.setLeaseStyle(SYNC_RESOURCE.toString());
|
||||
materialLeaseApplyInfo.setTeamId(bmAgreementInfo.getUnitId().toString());
|
||||
materialLeaseApplyInfo.setProjectId(record.getLeaseProjectId().toString());
|
||||
materialLeaseApplyInfo.setCreateTime(DateUtils.getNowDate());
|
||||
materialLeaseApplyInfo.setCreateBy(SecurityUtils.getLoginUser().getSysUser().getNickName());
|
||||
int count = materialLeaseInfoMapper.insertLeaseApplyInfo(materialLeaseApplyInfo);
|
||||
if (count > GlobalConstants.INT_0) {
|
||||
return insertPurchaseCheckDetails(record, createBy, tmTask.getTaskId(), materialLeaseApplyInfo.getId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue