From f6290cf3aa9794fea7edb882ca034063c5afb919 Mon Sep 17 00:00:00 2001 From: admin <15939171744@163.com> Date: 星期二, 26 十一月 2024 15:03:01 +0800 Subject: [PATCH] -物料信息 工位信息 优化 --- billion-main/src/main/java/com/billion/main/bs/service/impl/BsMaterialInfoServiceImpl.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/billion-main/src/main/java/com/billion/main/bs/service/impl/BsMaterialInfoServiceImpl.java b/billion-main/src/main/java/com/billion/main/bs/service/impl/BsMaterialInfoServiceImpl.java index 63c0452..3324eac 100644 --- a/billion-main/src/main/java/com/billion/main/bs/service/impl/BsMaterialInfoServiceImpl.java +++ b/billion-main/src/main/java/com/billion/main/bs/service/impl/BsMaterialInfoServiceImpl.java @@ -10,6 +10,8 @@ import com.billion.main.bs.domain.BsMaterialInfo; import com.billion.main.bs.service.IBsMaterialInfoService; +import static org.apache.commons.lang3.SystemUtils.getUserName; + /** * 鐗╂枡淇℃伅Service涓氬姟灞傚鐞� * @@ -56,6 +58,7 @@ public int insertBsMaterialInfo(BsMaterialInfo bsMaterialInfo) { bsMaterialInfo.setCreateTime(DateUtils.getNowDate()); + bsMaterialInfo.setCreateBy(getUserName()); return bsMaterialInfoMapper.insertBsMaterialInfo(bsMaterialInfo); } @@ -69,6 +72,7 @@ public int updateBsMaterialInfo(BsMaterialInfo bsMaterialInfo) { bsMaterialInfo.setUpdateTime(DateUtils.getNowDate()); + bsMaterialInfo.setUpdateBy(getUserName()); return bsMaterialInfoMapper.updateBsMaterialInfo(bsMaterialInfo); } -- Gitblit v1.9.3