1.修复部门用户查询错误问题

master
x_z 2 years ago
parent e96b7424cf
commit 66def2b763

@ -2,16 +2,14 @@ package com.glxp.api.controller.auth;
import com.github.pagehelper.PageInfo;
import com.glxp.api.annotation.AuthRuleAnnotation;
import com.glxp.api.entity.auth.DeptEntity;
import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.common.util.ResultVOUtils;
import com.glxp.api.entity.auth.DeptUserEntity;
import com.glxp.api.req.auth.FilterDeptUserReqeust;
import com.glxp.api.req.auth.FilterInvWarehouseRequest;
import com.glxp.api.res.PageSimpleResponse;
import com.glxp.api.res.auth.DeptUserResponse;
import com.glxp.api.service.auth.DeptService;
import com.glxp.api.service.auth.DeptUserService;
import com.glxp.api.common.res.BaseResponse;
import com.glxp.api.common.util.ResultVOUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@ -33,9 +31,7 @@ public class DeptUserController {
@AuthRuleAnnotation("")
@GetMapping("udi/auth/dept/user/filter")
public BaseResponse filterList(FilterDeptUserReqeust filterDeptUserReqeust) {
//获取部门id
Long idByCode = deptService.getIdByCode(filterDeptUserReqeust.getDeptId());
filterDeptUserReqeust.setDeptId(idByCode);
filterDeptUserReqeust.setDeptId(filterDeptUserReqeust.getDeptId());
List<DeptUserResponse> deptEntityList = deptUserService.selectJoinDeptUser(filterDeptUserReqeust);
PageInfo<DeptUserResponse> pageInfo = new PageInfo<>(deptEntityList);
PageSimpleResponse<DeptUserResponse> deptEntityPageSimpleResponse = new PageSimpleResponse<>();

@ -166,7 +166,7 @@ public class BasicBussinessTypeEntity {
private boolean secCheckSp;
/**
*
* 123 4
*/
@TableField(value = "corpType")
private int corpType;

@ -9,7 +9,7 @@ spring:
password: Glxp@6066
hikari:
connection-timeout: 60000
maximum-pool-size: 60
maximum-pool-size: 20
minimum-idle: 10

Loading…
Cancel
Save