|
|
@ -18,7 +18,6 @@ import cn.estsh.impp.framework.boot.auth.AuthUtil;
|
|
|
|
import cn.estsh.impp.framework.boot.exception.ImppBusiException;
|
|
|
|
import cn.estsh.impp.framework.boot.exception.ImppBusiException;
|
|
|
|
import cn.estsh.impp.framework.boot.exception.ImppExceptionBuilder;
|
|
|
|
import cn.estsh.impp.framework.boot.exception.ImppExceptionBuilder;
|
|
|
|
import cn.estsh.impp.framework.boot.exception.ImppExceptionEnum;
|
|
|
|
import cn.estsh.impp.framework.boot.exception.ImppExceptionEnum;
|
|
|
|
import cn.estsh.impp.framework.boot.fastdfs.FastDFSClient;
|
|
|
|
|
|
|
|
import cn.estsh.impp.framework.boot.util.ResultBean;
|
|
|
|
import cn.estsh.impp.framework.boot.util.ResultBean;
|
|
|
|
import cn.estsh.impp.framework.boot.util.ValidatorBean;
|
|
|
|
import cn.estsh.impp.framework.boot.util.ValidatorBean;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
@ -169,15 +168,16 @@ public class SysUserInfoController extends CoreBaseController{
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 查询用户信息
|
|
|
|
* 查询用户信息
|
|
|
|
* @param SysUserInfo 查询条件
|
|
|
|
* @param userInfo 查询条件
|
|
|
|
* @param pager 分页信息
|
|
|
|
* @param pager 分页信息
|
|
|
|
* @return 处理结果
|
|
|
|
* @return 处理结果
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@GetMapping(value="/query")
|
|
|
|
@GetMapping(value="/query")
|
|
|
|
@ApiOperation(value="查询用户信息",notes="复杂查询用户信息带分页")
|
|
|
|
@ApiOperation(value="查询用户信息",notes="复杂查询用户信息带分页")
|
|
|
|
public ResultBean querySysUserInfo(SysUserInfo SysUserInfo, Pager pager){
|
|
|
|
public ResultBean querySysUserInfo(SysUserInfo userInfo, Pager pager){
|
|
|
|
try{
|
|
|
|
try{
|
|
|
|
ListPager<SysUserInfo> listPager = sysUserInfoService.querySysUserInfo(SysUserInfo, pager);
|
|
|
|
userInfo.setOrganizeCode(AuthUtil.getOrganize().getOrganizeCode());
|
|
|
|
|
|
|
|
ListPager<SysUserInfo> listPager = sysUserInfoService.querySysUserInfo(userInfo, pager);
|
|
|
|
return ResultBean.success("操作成功").setListPager(listPager).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode());
|
|
|
|
return ResultBean.success("操作成功").setListPager(listPager).setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode());
|
|
|
|
}catch(ImppBusiException busExcep){
|
|
|
|
}catch(ImppBusiException busExcep){
|
|
|
|
return ResultBean.fail(busExcep);
|
|
|
|
return ResultBean.fail(busExcep);
|
|
|
|