|
|
|
@ -4,6 +4,7 @@ import com.github.pagehelper.PageInfo;
|
|
|
|
|
import com.glxp.api.admin.req.auth.AuthAdminQueryRequest;
|
|
|
|
|
import com.glxp.api.admin.req.auth.AuthAdminSaveRequest;
|
|
|
|
|
import com.glxp.api.admin.res.PageSimpleResponse;
|
|
|
|
|
import com.glxp.api.admin.util.GennerOrderUtils;
|
|
|
|
|
import com.glxp.api.common.enums.ResultEnum;
|
|
|
|
|
import com.glxp.api.common.res.BaseResponse;
|
|
|
|
|
import com.glxp.api.common.util.ResultVOUtils;
|
|
|
|
@ -40,6 +41,8 @@ public class AuthAdminController {
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
private AuthRoleAdminService authRoleAdminService;
|
|
|
|
|
@Resource
|
|
|
|
|
GennerOrderUtils gennerOrderUtils;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取管理员列表
|
|
|
|
@ -145,6 +148,7 @@ public class AuthAdminController {
|
|
|
|
|
authAdmin.setPassWord(PasswordUtils.authAdminPwd(authAdmin.getPassWord()));
|
|
|
|
|
}
|
|
|
|
|
authAdmin.setLastModifyTime(new Date());
|
|
|
|
|
authAdmin.setId(gennerOrderUtils.getRelId());
|
|
|
|
|
boolean b = authAdminService.insertAuthAdmin(authAdmin);
|
|
|
|
|
authAdmin = authAdminService.findByUserName(authAdmin.getUserName());
|
|
|
|
|
if (!b) {
|
|
|
|
|