根据公司ID,查询该公司下的所有用户。
This commit is contained in:
parent
ce1b43836c
commit
4cd4d8b4ca
@ -65,18 +65,6 @@ public class BpmOAExpensesController {
|
||||
@Operation(summary = "获得生产开支申请分页")
|
||||
@DataPermission(enable = false)
|
||||
public CommonResult<PageResult<BpmOAExpensesPageRespVO>> getExpensesPage(BpmOAExpensesPageReqVO pageReqVO) {
|
||||
Long companyId = pageReqVO.getFactoryId() ;
|
||||
if(companyId != null) {
|
||||
//1 = 113 中鼐智能科技(江西)有限公司, 10000083 = 136 世瑞华科技(深圳)有限公司 10000061 = 166 中鼐智能科技(江西)有限公司(高安)
|
||||
if (companyId == 1L) {
|
||||
companyId = 113L;
|
||||
} else if (companyId == 10000083L) {
|
||||
companyId = 136L;
|
||||
} else if (companyId == 10000061L) {
|
||||
companyId = 166L;
|
||||
}
|
||||
pageReqVO.setFactoryId(companyId) ;
|
||||
}
|
||||
PageResult<BpmOAExpensesPageRespVO> respVO = expensesService.getExpensesPage(pageReqVO);
|
||||
return success(respVO);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user