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
f2c2f371
Commit
f2c2f371
authored
Jan 28, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 更新
parent
1a84b593
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
CostController.java
.../com/blt/other/module/cost/controller/CostController.java
+15
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/controller/CostController.java
View file @
f2c2f371
...
@@ -8,8 +8,10 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -8,8 +8,10 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.core.toolkit.IdWorker
;
import
com.baomidou.mybatisplus.core.toolkit.IdWorker
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.blt.other.common.annotation.LoginIgnore
;
import
com.blt.other.common.annotation.LoginIgnore
;
import
com.blt.other.module.cost.dao.CostDao
;
import
com.blt.other.module.cost.dto.request.CheckCostListReq
;
import
com.blt.other.module.cost.dto.request.CheckCostListReq
;
import
com.blt.other.module.cost.dto.request.CostQueryPageReq
;
import
com.blt.other.module.cost.dto.request.CostQueryPageReq
;
import
com.blt.other.module.cost.dto.response.GetAllLendCostResp
;
import
com.blt.other.module.cost.dto.response.GetCostByCostPlanNoResp
;
import
com.blt.other.module.cost.dto.response.GetCostByCostPlanNoResp
;
import
com.blt.other.module.cost.dto.response.PrintListResp
;
import
com.blt.other.module.cost.dto.response.PrintListResp
;
import
com.blt.other.module.cost.dto.response.UpdateCostResp
;
import
com.blt.other.module.cost.dto.response.UpdateCostResp
;
...
@@ -30,6 +32,7 @@ import java.math.BigDecimal;
...
@@ -30,6 +32,7 @@ import java.math.BigDecimal;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
/**
/**
* <p>
* <p>
...
@@ -60,8 +63,20 @@ public class CostController {
...
@@ -60,8 +63,20 @@ public class CostController {
private
HrCheckState
hrCheckState
;
private
HrCheckState
hrCheckState
;
@Resource
@Resource
CostListSearchService
costListSearchService
;
CostListSearchService
costListSearchService
;
@Resource
CostDao
costDao
;
@Deprecated
@ApiOperation
(
"获取借支单列表"
)
@GetMapping
(
"/getAllLendCost"
)
public
GetAllLendCostResp
getAllLendCost
(
@RequestParam
Integer
createuserid
)
{
costService
=
CostServiceFactory
.
getCostService
();
List
<
CostDto
>
costDtoList
=
costDao
.
selectLinkLendCost
(
createuserid
).
stream
().
map
(
CostDomain:
:
castToDto
).
collect
(
Collectors
.
toList
());
GetAllLendCostResp
resp
=
new
GetAllLendCostResp
();
resp
.
setLends
(
costDtoList
);
return
resp
;
}
@ApiOperation
(
"获取前端要打印的费用单列表"
)
@ApiOperation
(
"获取前端要打印的费用单列表"
)
@PostMapping
(
"/list/print/list"
)
@PostMapping
(
"/list/print/list"
)
public
PrintListResp
printList
(
@RequestBody
CostListPrintVo
costListPrintVo
)
{
public
PrintListResp
printList
(
@RequestBody
CostListPrintVo
costListPrintVo
)
{
...
...
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