md
This commit is contained in:
parent
397af3f22c
commit
56bb8c5d22
@ -97,10 +97,8 @@ public class Oms2cStaffController extends BaseController
|
|||||||
|
|
||||||
if(oldSysOmsUser!=null){
|
if(oldSysOmsUser!=null){
|
||||||
|
|
||||||
if(oldSysOmsUser.getMainUserId()!=null ) {
|
if(oldSysOmsUser.getMainUserId()!=null && oldSysOmsUser.getMainUserId() > 0 ) {
|
||||||
if ( oldSysOmsUser.getMainUserId() != currentUser.getId()) {
|
return AjaxResult.error("该手机号已存在子账号");
|
||||||
return AjaxResult.error("该手机号已存在子账号");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
user.setPassword(SecurityUtils.encryptPassword(user.getPassword()));
|
user.setPassword(SecurityUtils.encryptPassword(user.getPassword()));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user