|
|
|
@ -121,8 +121,8 @@ public class PurApplyController {
|
|
|
|
|
if (purApplyRequest.getStatus() == null) {
|
|
|
|
|
purApplyRequest.setStatus(11); //查询未审核和草稿状态
|
|
|
|
|
}
|
|
|
|
|
if(purApplyRequest.getIsUser() != null && purApplyRequest.getIsUser()){
|
|
|
|
|
AuthAdmin authAdmin=customerService.getUserBean();
|
|
|
|
|
if (purApplyRequest.getIsUser() != null && purApplyRequest.getIsUser()) {
|
|
|
|
|
AuthAdmin authAdmin = customerService.getUserBean();
|
|
|
|
|
purApplyRequest.setCreateUser(authAdmin.getId() + ""); //查询自己
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -146,8 +146,8 @@ public class PurApplyController {
|
|
|
|
|
if (purApplyRequest.getStatus() == null) {
|
|
|
|
|
purApplyRequest.setStatus(10); //查询未审核和已审核状态
|
|
|
|
|
}
|
|
|
|
|
if(purApplyRequest.getIsInvCode()!=null && purApplyRequest.getIsInvCode()){
|
|
|
|
|
AuthAdmin authAdmin=customerService.getUserBean();
|
|
|
|
|
if (purApplyRequest.getIsInvCode() != null && purApplyRequest.getIsInvCode()) {
|
|
|
|
|
AuthAdmin authAdmin = customerService.getUserBean();
|
|
|
|
|
purApplyRequest.setTargetInvCode(authAdmin.getLocInvCode() + ""); //查询自己仓库
|
|
|
|
|
}
|
|
|
|
|
List<PurApplyResponse> purApplyEntities = purApplyService.queryPageList(purApplyRequest);
|
|
|
|
|