浏览代码

SAI开项申请流程:邮件取值修改

wangggziwen 2 年之前
父节点
当前提交
eeb10a8e4a

+ 1 - 1
master/src/main/java/com/ruoyi/project/production/controller/TSaiApplyController.java

@@ -545,7 +545,7 @@ public class TSaiApplyController extends BaseController
                     String loginName = sysUser.getUserName();
                     String loginName = sysUser.getUserName();
                     TStaffmgr staffmgr = staffmgrService.selectTStaffmgrByStaffId(staffId);
                     TStaffmgr staffmgr = staffmgrService.selectTStaffmgrByStaffId(staffId);
                     String staffName = staffmgr.getName();
                     String staffName = staffmgr.getName();
-                    String email = staffmgr.getMail();
+                    String email = sysUser.getEmail();
                     if (email != null) {
                     if (email != null) {
                         // 系统通知
                         // 系统通知
                         SysMessage message = new SysMessage();
                         SysMessage message = new SysMessage();