Commit ca5c4fb5 by huluobin

# 费用系统 搜索页面

parent 25cfe3da
......@@ -62,6 +62,22 @@ public class CostController {
@Resource
private HrCheckState hrCheckState;
@Deprecated
@ApiOperation("获取所有费用单")
@GetMapping("/list/getAllCost")
public CostPageResult getAllCost(@RequestParam Integer pageNum,
@RequestParam Integer pageSize,
@RequestParam Integer userId,
@RequestParam(defaultValue = "0", required = false) Integer authType,
@RequestParam(required = false) String projectTypes) {
if (authType != 0) {
userId = null;
}
costService = CostServiceFactory.getCostService();
return costService.getAllCost(pageNum, pageSize, userId, projectTypes);
}
@ApiOperation("获取前端要打印的费用单列表")
@PostMapping("/list/print/list")
public PrintListResp printList(@RequestBody CostListPrintVo costListPrintVo) {
......@@ -75,6 +91,7 @@ public class CostController {
}
@Deprecated
@ApiOperation("搜索")
@PostMapping("/list/search/key")
public GetByKeyResp getByKey(@RequestParam Integer pageNum,
......@@ -84,6 +101,7 @@ public class CostController {
return costListSearchService.searchByKey(key, pageNum, pageSize);
}
@Deprecated
@ApiOperation("搜索?")
@PostMapping("/list/search/keys")
public GetByKeyResp getByKeys(@RequestBody CostListSearchKeysVo searchKeysVo) {
......@@ -100,6 +118,7 @@ public class CostController {
}
@Deprecated
@ApiOperation("获取借支单列表")
@GetMapping("/list/search/getLinkCost")
public List<CostDomain> getLinkCost() {
......@@ -171,6 +190,7 @@ public class CostController {
return resp;
}
@Deprecated
@ApiOperation("获取借支单列表")
@GetMapping("/getAllLendCost")
public GetAllLendCostResp getAllLendCost(@RequestParam Integer createuserid) {
......@@ -194,7 +214,6 @@ public class CostController {
return result;
}
@ApiOperation("待审核费用单列表")
@GetMapping("/checkCostList")
public CostResult<IPage<CostDto>> checkCostList(CheckCostListReq req) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment