Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-cost
Commits
ca5c4fb5
Commit
ca5c4fb5
authored
Jan 16, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 费用系统 搜索页面
parent
25cfe3da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
CostController.java
.../com/blt/other/module/cost/controller/CostController.java
+20
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/controller/CostController.java
View file @
ca5c4fb5
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment