diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CheckReportManager.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CheckReportManager.java index e0e6755..6d1e048 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CheckReportManager.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CheckReportManager.java @@ -56,7 +56,7 @@ public class CheckReportManager { tdCheckReport.setCheckState("2"); } tdCheckReport.setDepart(ShiroUtils.getSysUser().getDept().getDeptName()); - tdCheckReport.setAdduser(ShiroUtils.getSysUser().getLoginName()); + tdCheckReport.setAdduser(ShiroUtils.getSysUser().getUserName()); tdCheckReport.setCreateTime(new Date()); } checkReportService.saveOrUpdate(tdCheckReport);