diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysProductModelServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysProductModelServiceImpl.java
index 49285071..c5bdc358 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysProductModelServiceImpl.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysProductModelServiceImpl.java
@@ -108,6 +108,7 @@ public class SysProductModelServiceImpl implements ISysProductModelService
public int updateSysProductModel(SysProductModel sysProductModel)
{
sysProductModel.setUpdateTime(DateUtils.getNowDate());
+ sysProductModel.setUpdateBy(ShiroUtils.getLoginName());
return sysProductModelMapper.updateSysProductModel(sysProductModel);
}
diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysProductModelMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysProductModelMapper.xml
index 2eba77a8..bdde7309 100644
--- a/ruoyi-admin/src/main/resources/mapper/system/SysProductModelMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/system/SysProductModelMapper.xml
@@ -23,12 +23,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select pid, pcode, equipModel, equipName,engineer,use_status,
- specification, differences, create_by, create_time, udpate_by,
+ specification, differences, create_by, create_time, update_by,
update_time,remark, photoUrl from sys_product_model