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/BsLineInfoServiceImpl.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/billion-main/src/main/java/com/billion/main/bs/service/impl/BsLineInfoServiceImpl.java b/billion-main/src/main/java/com/billion/main/bs/service/impl/BsLineInfoServiceImpl.java index fc39aca..23fa983 100644 --- a/billion-main/src/main/java/com/billion/main/bs/service/impl/BsLineInfoServiceImpl.java +++ b/billion-main/src/main/java/com/billion/main/bs/service/impl/BsLineInfoServiceImpl.java @@ -10,6 +10,8 @@ import com.billion.main.bs.domain.BsLineInfo; import com.billion.main.bs.service.IBsLineInfoService; +import static org.apache.commons.lang3.SystemUtils.getUserName; + /** * 浜х嚎淇℃伅Service涓氬姟灞傚鐞� * @@ -56,6 +58,7 @@ public int insertBsLineInfo(BsLineInfo bsLineInfo) { bsLineInfo.setCreateTime(DateUtils.getNowDate()); + bsLineInfo.setCreateBy(getUserName()); return bsLineInfoMapper.insertBsLineInfo(bsLineInfo); } @@ -69,6 +72,7 @@ public int updateBsLineInfo(BsLineInfo bsLineInfo) { bsLineInfo.setUpdateTime(DateUtils.getNowDate()); + bsLineInfo.setUpdateBy(getUserName()); return bsLineInfoMapper.updateBsLineInfo(bsLineInfo); } -- Gitblit v1.9.3