用户拉取部门修复

master
郑明梁 2 years ago
parent 42441fa449
commit 8ef2a2ef1c

@ -84,6 +84,9 @@ public class InvWarehouseController extends BaseController {
if (authAdmin.getCustomerId().equals("110")) {
filterInvWarehouseRequest.setUserId(authAdmin.getId());
} else {
if(filterInvWarehouseRequest.getType()==1){
filterInvWarehouseRequest.setSpUse(true);
}
filterInvWarehouseRequest.setUserId(null);
}

@ -32,4 +32,5 @@ public class FilterInvWarehouseRequest extends ListPageRequest {
private String subordinateCode;//下级
private String superiorPcode;//上级
private String CustomerId;
private Integer type;
}

Loading…
Cancel
Save