فهرست منبع

修改转出提示

hxl13994548489 1 سال پیش
والد
کامیت
0c5c5eecd7
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      src/main/java/com/ydtech/modules/admin/service/impl/SysUserServiceImpl.java

+ 5 - 5
src/main/java/com/ydtech/modules/admin/service/impl/SysUserServiceImpl.java

@@ -3101,20 +3101,20 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
         sysUser.setIdentityTime(null);
         sysUser.setMobile("");
         if(StringUtils.isBlank(transferUserVo.getDeptId())){
-           throw new SystemException("转部门不能为空!");
+           throw new SystemException("转部门不能为空!");
         }
         if(transferUserVo.getDeptId().equals("9")){
-            throw new SystemException("转部门不能为总部!");
+            throw new SystemException("转部门不能为总部!");
         }
         if(transferUserVo.getDeptId().equals(sysUser.getDeptId())){
-            throw new SystemException("转部门和用户当前部门一致,请重新选择");
+            throw new SystemException("转部门和用户当前部门一致,请重新选择");
         }
         SysDept dept = sysDeptMapper.selectById(transferUserVo.getDeptId());
         if(dept.getDeptType()!=null && ("C".equals(dept.getDeptType()) || "M".equals(dept.getDeptType()))) {
-           throw new SystemException("转部门为子公司或者门店,请重新选择");
+           throw new SystemException("转部门为子公司或者门店,请重新选择");
         }
         if(dept.getManagementSource()!=null && ("1".equals(dept.getManagementSource()) || "2".equals(dept.getManagementSource()) || "3".equals(dept.getManagementSource()))){
-            throw new SystemException("转部门类型不能为渠道、电销、个代,请重新选择");
+            throw new SystemException("转部门类型不能为渠道、电销、个代,请重新选择");
         }
         if(sysUser.getType()!=null && sysUser.getType()!=0){
             throw new SystemException("非后线人员不能转出");