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
99f2c699
Commit
99f2c699
authored
Mar 10, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 更新
parent
ad9adaef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
CostController.java
.../com/blt/other/module/cost/controller/CostController.java
+1
-2
CostQueryPageReq.java
...m/blt/other/module/cost/dto/request/CostQueryPageReq.java
+2
-0
Cost.xml
cost-service/src/main/resources/mapper/Cost.xml
+2
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/controller/CostController.java
View file @
99f2c699
...
...
@@ -77,6 +77,7 @@ public class CostController {
resp
.
setLends
(
costDtoList
);
return
resp
;
}
@ApiOperation
(
"获取前端要打印的费用单列表"
)
@PostMapping
(
"/list/print/list"
)
public
PrintListResp
printList
(
@RequestBody
CostListPrintVo
costListPrintVo
)
{
...
...
@@ -97,14 +98,12 @@ public class CostController {
return
CostResult
.
success
((
Page
<
CostDto
>)
costDaoPage
.
convert
(
CostDomain:
:
castToDto
));
}
@ApiOperation
(
"获取借支单列表"
)
@GetMapping
(
"/list/search/getLinkCost"
)
public
List
<
CostDomain
>
getLinkCost
()
{
return
costListSearchService
.
getLinkCost
();
}
@ApiOperation
(
"获取费用详情"
)
@PostMapping
(
"/list/getCostDetail"
)
public
CostResult
<
CostDto
>
getCostDetail
(
@RequestParam
String
costNo
)
{
...
...
cost-service/src/main/java/com/blt/other/module/cost/dto/request/CostQueryPageReq.java
View file @
99f2c699
...
...
@@ -72,4 +72,6 @@ public class CostQueryPageReq extends BaseRequest {
private
String
typeName
;
@ApiModelProperty
(
"创建人id"
)
private
Integer
createUserid
;
}
cost-service/src/main/resources/mapper/Cost.xml
View file @
99f2c699
...
...
@@ -295,7 +295,8 @@
<if
test=
" req.costForm!=null and req.costForm != ''"
>
and t1.cost_form= #{req.costForm}
</if>
<if
test=
" req.isLend!=null and req.isLend != ''"
>
and t1.is_lend=#{req.isLend}
</if>
<if
test=
" req.companyNo!=null and req.companyNo != ''"
>
and t1.company_no=#{req.companyNo}
</if>
<if
test=
" req.currentUserId!=null "
>
and (t1.create_userid=#{req.createUserid} or t.company_no is not null)
</if>
<if
test=
" req.currentUserId!=null "
>
and (t1.create_userid=#{req.currentUserId} or t.company_no is not null)
</if>
<if
test=
" req.createUserid!=null "
>
and t1.create_userid=#{req.createUserid}
</if>
<if
test=
" req.costStatus!=null "
>
and find_in_set(t1.cost_status,#{req.costStatus})
</if>
<if
test=
" req.lendStatus!=null "
>
and t1.lend_status=#{req.lendStatus}
</if>
<if
test=
" req.isTax!=null "
>
and t1.is_tax=#{req.isTax}
</if>
...
...
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