From 8494738306fa1796d1f3680511ce9a5ad67436ac Mon Sep 17 00:00:00 2001 From: admin <15939171744@163.com> Date: 星期六, 23 十一月 2024 15:35:36 +0800 Subject: [PATCH] -工艺路线 --- billion-main/src/main/java/com/billion/main/da/service/impl/DaParamCollectionServiceImpl.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/billion-main/src/main/java/com/billion/main/da/service/impl/DaParamCollectionServiceImpl.java b/billion-main/src/main/java/com/billion/main/da/service/impl/DaParamCollectionServiceImpl.java index 1c6ebae..cc17084 100644 --- a/billion-main/src/main/java/com/billion/main/da/service/impl/DaParamCollectionServiceImpl.java +++ b/billion-main/src/main/java/com/billion/main/da/service/impl/DaParamCollectionServiceImpl.java @@ -5,11 +5,14 @@ import cn.hutool.core.util.ObjectUtil; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.billion.common.utils.SecurityUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.billion.main.da.mapper.DaParamCollectionMapper; import com.billion.main.da.domain.DaParamCollection; import com.billion.main.da.service.IDaParamCollectionService; + +import static org.apache.commons.lang3.SystemUtils.getUserName; /** * 鍙傛暟閲囬泦Service涓氬姟灞傚鐞� @@ -61,6 +64,7 @@ public int insertDaParamCollection(DaParamCollection daParamCollection) { daParamCollection.setCollectTime(new Date()); + daParamCollection.setCreateBy(getUserName()); return daParamCollectionMapper.insertDaParamCollection(daParamCollection); } -- Gitblit v1.9.3