Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
ab822a86
Commit
ab822a86
authored
Feb 18, 2025
by
332784038@qq.com
Committed by
wux
Feb 21, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务应收报表卸柜到仓时间查询bug修复
parent
6c1d9e37
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
BoxMapper.java
...cn/iocoder/yudao/module/shipment/dal/mysql/BoxMapper.java
+7
-7
No files found.
yudao-module-shipment/yudao-module-shipment-core/src/main/java/cn/iocoder/yudao/module/shipment/dal/mysql/BoxMapper.java
View file @
ab822a86
...
...
@@ -621,20 +621,20 @@ public interface BoxMapper extends AbstractMapper<BoxDO> {
}
String
beginDaogangTime
=
null
;
String
endDaogangTime
=
null
;
if
(
vo
.
getBeginDaogangTime
()!=
null
){
if
(
vo
.
getBeginDaogangTime
()!=
null
&&
vo
.
getEndDaogangTime
()
!=
null
){
beginDaogangTime
=
DateUtil
.
format
(
vo
.
getBeginDaogangTime
(),
"yyyy-MM-dd HH:mm:ss"
);
endDaogangTime
=
DateUtil
.
format
(
vo
.
getEndDaogangTime
(),
"yyyy-MM-dd HH:mm:ss"
);
}
String
beginQingguanTime
=
null
;
String
endQingguanTime
=
null
;
if
(
vo
.
getBeginQingguanTime
()!=
null
){
if
(
vo
.
getBeginQingguanTime
()!=
null
&&
vo
.
getEndQingguanTime
()
!=
null
){
beginQingguanTime
=
DateUtil
.
format
(
vo
.
getBeginQingguanTime
(),
"yyyy-MM-dd HH:mm:ss"
);
endQingguanTime
=
DateUtil
.
format
(
vo
.
getEndQingguanTime
(),
"yyyy-MM-dd HH:mm:ss"
);
}
String
beginUlWarehouseTime
=
null
;
String
endUlWarehouseTime
=
null
;
if
(
vo
.
getBegin
QingguanTime
()!=
null
){
if
(
vo
.
getBegin
UlWarehouseTime
()!=
null
&&
vo
.
getEndUlWarehouseTime
()
!=
null
){
beginUlWarehouseTime
=
DateUtil
.
format
(
vo
.
getBeginUlWarehouseTime
(),
"yyyy-MM-dd HH:mm:ss"
);
endUlWarehouseTime
=
DateUtil
.
format
(
vo
.
getEndUlWarehouseTime
(),
"yyyy-MM-dd HH:mm:ss"
);
}
...
...
@@ -658,7 +658,7 @@ public interface BoxMapper extends AbstractMapper<BoxDO> {
"</when>"
,
"<when test = 'beginUlWarehouseTime != null or endUlWarehouseTime != null'>"
,
", ecw_box_c
learance clearance
"
,
", ecw_box_c
abinet_unload unload
"
,
"</when>"
,
"WHERE"
,
...
...
@@ -669,7 +669,7 @@ public interface BoxMapper extends AbstractMapper<BoxDO> {
"</when>"
,
"<when test = 'beginUlWarehouseTime != null or endUlWarehouseTime != null'>"
,
"and box.id =
clearance.shipment_id and clearance
.deleted = 0"
,
"and box.id =
unload.shipment_id and unload
.deleted = 0"
,
"</when>"
,
"<when test = 'beginJsDate != null'>"
,
...
...
@@ -698,11 +698,11 @@ public interface BoxMapper extends AbstractMapper<BoxDO> {
"</when>"
,
"<when test = 'beginUlWarehouseTime != null'>"
,
"and
clearance.cl_clear
_time >= #{beginUlWarehouseTime}"
,
"and
unload.ul_warehouse
_time >= #{beginUlWarehouseTime}"
,
"</when>"
,
"<when test = 'endUlWarehouseTime != null'>"
,
"and
clearance.cl_clear
_time <= #{endUlWarehouseTime}"
,
"and
unload.ul_warehouse
_time <= #{endUlWarehouseTime}"
,
"</when>"
,
"<when test = 'selfNo != null and selfNo != \"\" '>"
,
...
...
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