领料接口优化

This commit is contained in:
sxu 2024-11-12 18:53:33 +08:00
parent 77535090a0
commit 8cdbb77ab2
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public class BmAgreementInfoServiceImpl implements IBmAgreementInfoService
try { try {
bmAgreementInfo.setCreateTime(DateUtils.getNowDate()); bmAgreementInfo.setCreateTime(DateUtils.getNowDate());
bmAgreementInfo.setCreateBy(SecurityUtils.getUsername()); bmAgreementInfo.setCreateBy(SecurityUtils.getUsername());
bmAgreementInfo.setSignTime(DateUtils.getNowDate());
bmAgreementInfo.setAgreementCode(getAgreementCode()); bmAgreementInfo.setAgreementCode(getAgreementCode());
int count = bmAgreementInfoMapper.insertBmAgreementInfo(bmAgreementInfo); int count = bmAgreementInfoMapper.insertBmAgreementInfo(bmAgreementInfo);
if (count > 0) { if (count > 0) {