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
7a018b0c
Commit
7a018b0c
authored
Jan 18, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# fee 搜索
parent
363d4103
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
25 deletions
+30
-25
AppCostListReq.java
...com/blt/other/module/cost/dto/request/AppCostListReq.java
+1
-0
CheckCostListReq.java
...m/blt/other/module/cost/dto/request/CheckCostListReq.java
+14
-0
CostQueryPageReq.java
...m/blt/other/module/cost/dto/request/CostQueryPageReq.java
+5
-4
Cost.xml
cost-service/src/main/resources/mapper/Cost.xml
+10
-21
No files found.
cost-service/src/main/java/com/blt/other/module/cost/dto/request/AppCostListReq.java
View file @
7a018b0c
...
@@ -26,6 +26,7 @@ public class AppCostListReq {
...
@@ -26,6 +26,7 @@ public class AppCostListReq {
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
startTime
;
private
LocalDateTime
startTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
endTime
;
private
LocalDateTime
endTime
;
...
...
cost-service/src/main/java/com/blt/other/module/cost/dto/request/CheckCostListReq.java
View file @
7a018b0c
package
com
.
blt
.
other
.
module
.
cost
.
dto
.
request
;
package
com
.
blt
.
other
.
module
.
cost
.
dto
.
request
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
java.time.LocalDate
;
/**
/**
* <p>
* <p>
*
*
...
@@ -42,4 +45,15 @@ public class CheckCostListReq {
...
@@ -42,4 +45,15 @@ public class CheckCostListReq {
@ApiModelProperty
(
"创建人(模糊搜索) "
)
@ApiModelProperty
(
"创建人(模糊搜索) "
)
private
Integer
createUserId
;
private
Integer
createUserId
;
@ApiModelProperty
(
"费用单创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
LocalDate
beginTime
;
@ApiModelProperty
(
"费用单创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
LocalDate
endTime
;
@ApiModelProperty
(
"费用单-收款/付款人(创建人)"
)
private
String
bankCardUser
;
}
}
cost-service/src/main/java/com/blt/other/module/cost/dto/request/CostQueryPageReq.java
View file @
7a018b0c
...
@@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModelProperty;
...
@@ -6,6 +6,7 @@ import io.swagger.annotations.ApiModelProperty;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
java.time.LocalDate
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
@@ -47,19 +48,19 @@ public class CostQueryPageReq extends BaseRequest {
...
@@ -47,19 +48,19 @@ public class CostQueryPageReq extends BaseRequest {
@ApiModelProperty
(
"费用单创建时间"
)
@ApiModelProperty
(
"费用单创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
beginTime
;
private
Local
Date
beginTime
;
@ApiModelProperty
(
"费用单创建时间"
)
@ApiModelProperty
(
"费用单创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
endTime
;
private
Local
Date
endTime
;
@ApiModelProperty
(
"费用单支付时间"
)
@ApiModelProperty
(
"费用单支付时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
beginPayTime
;
private
Local
Date
beginPayTime
;
@ApiModelProperty
(
"费用单支付时间"
)
@ApiModelProperty
(
"费用单支付时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
endPayTime
;
private
Local
Date
endPayTime
;
@ApiModelProperty
(
"关联费用单"
)
@ApiModelProperty
(
"关联费用单"
)
private
String
linkCost
;
private
String
linkCost
;
...
...
cost-service/src/main/resources/mapper/Cost.xml
View file @
7a018b0c
...
@@ -185,27 +185,16 @@
...
@@ -185,27 +185,16 @@
</select>
</select>
<sql
id=
"checkCostListSearch"
>
<sql
id=
"checkCostListSearch"
>
<if
test=
"req.companyNo!=null and req.companyNo!='' "
>
<if
test=
"req.companyNo!=null and req.companyNo!='' "
>
and t1.company_no = #{req.companyNo}
</if>
and t1.company_no = #{req.companyNo}
<if
test=
"req.costForm!=null"
>
and t1.cost_form = #{req.costForm}
</if>
</if>
<if
test=
"req.isLend!=null"
>
and t1.is_lend = #{req.isLend}
</if>
<if
test=
"req.costForm!=null"
>
<if
test=
"req.accountingSubjectNo!=null and req.accountingSubjectNo!='' "
>
and t1.accounting_subject_no = #{req.accountingSubjectNo}
</if>
and t1.cost_form = #{req.costForm}
<if
test=
"req.typeNo!=null and req.typeNo!='' "
>
t1.type_no = #{req.typeNo}
</if>
</if>
<if
test=
"req.costStatus!=null "
>
and t1.cost_status = #{req.costStatus}
</if>
<if
test=
"req.isLend!=null"
>
<if
test=
"req.createUserId!=null "
>
and t1.create_userid = #{req.createUserId}
</if>
and t1.is_lend = #{req.isLend}
<if
test=
" req.beginTime != null"
>
AND t1.create_time
<![CDATA[>=]]>
#{req.beginTime}
</if>
</if>
<if
test=
" req.endTime != null"
>
AND t1.create_time
<![CDATA[<=]]>
#{req.endTime}
</if>
<if
test=
"req.accountingSubjectNo!=null and req.accountingSubjectNo!='' "
>
<if
test=
"req.bankCardUser !=null and req.bankCardUser !='' "
>
and t1.bank_card_user like concat('%',#{req.bankCardUser},'%')
</if>
and t1.accounting_subject_no = #{req.accountingSubjectNo}
</if>
<if
test=
"req.typeNo!=null and req.typeNo!='' "
>
and t1.type_no = #{req.typeNo}
</if>
<if
test=
"req.costStatus!=null "
>
and t1.cost_status = #{req.costStatus}
</if>
<if
test=
"req.createUserId!=null "
>
and t1.create_userid = #{req.createUserId}
</if>
</sql>
</sql>
<!--待部门审核-->
<!--待部门审核-->
...
...
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