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
3f1e4bd4
Commit
3f1e4bd4
authored
Apr 28, 2024
by
liuzeheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异常状态、审核状态多选
parent
8f5fb78a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
264 additions
and
54 deletions
+264
-54
OrderQueryDTO.java
...java/cn/iocoder/yudao/module/order/dto/OrderQueryDTO.java
+35
-10
OrderMapper.xml
...rder-core/src/main/resources/mapper/order/OrderMapper.xml
+229
-44
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/dto/OrderQueryDTO.java
View file @
3f1e4bd4
...
@@ -4,13 +4,11 @@ import com.alibaba.excel.annotation.ExcelProperty;
...
@@ -4,13 +4,11 @@ import com.alibaba.excel.annotation.ExcelProperty;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.Data
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Collection
;
import
java.util.*
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Objects
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
util
.
date
.
DateUtils
.
FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
util
.
date
.
DateUtils
.
FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND
;
...
@@ -107,7 +105,7 @@ public class OrderQueryDTO {
...
@@ -107,7 +105,7 @@ public class OrderQueryDTO {
private
Integer
status
;
private
Integer
status
;
@ApiModelProperty
(
value
=
"订单异常状态(字典 order_abnormal_state)"
)
@ApiModelProperty
(
value
=
"订单异常状态(字典 order_abnormal_state)"
)
private
Integer
abnormalState
;
private
List
<
Integer
>
abnormalState
;
@ApiModelProperty
(
value
=
"订单入仓状态(字典 order_warehouse_in_status)"
)
@ApiModelProperty
(
value
=
"订单入仓状态(字典 order_warehouse_in_status)"
)
private
Integer
inWarehouseState
;
private
Integer
inWarehouseState
;
...
@@ -493,7 +491,7 @@ public class OrderQueryDTO {
...
@@ -493,7 +491,7 @@ public class OrderQueryDTO {
private
Boolean
isNeat
;
private
Boolean
isNeat
;
@ApiModelProperty
(
value
=
"审核类型(字典 order_approval_type) 0 为正常"
)
@ApiModelProperty
(
value
=
"审核类型(字典 order_approval_type) 0 为正常"
)
private
Integer
auditType
;
private
List
<
Integer
>
auditType
;
@ApiModelProperty
(
value
=
"审核结果"
)
@ApiModelProperty
(
value
=
"审核结果"
)
private
String
auditResult
;
private
String
auditResult
;
...
@@ -549,8 +547,22 @@ public class OrderQueryDTO {
...
@@ -549,8 +547,22 @@ public class OrderQueryDTO {
this
.
status
=
5
;
this
.
status
=
5
;
this
.
transportId
=
3
;
// 空运待出查询,只查空运的订单
this
.
transportId
=
3
;
// 空运待出查询,只查空运的订单
this
.
airShipment
=
1
;
this
.
airShipment
=
1
;
this
.
auditType
=
0
;
//this.auditType = 0;
this
.
abnormalState
=
0
;
if
(
CollectionUtils
.
isEmpty
(
auditType
)){
this
.
auditType
=
new
ArrayList
<>();
this
.
auditType
.
add
(
0
);
}
else
{
this
.
auditType
.
add
(
0
);
}
//this.abnormalState = 0;
if
(
CollectionUtils
.
isEmpty
(
abnormalState
)){
this
.
abnormalState
=
new
ArrayList
<>();
this
.
abnormalState
.
add
(
0
)
;
}
else
{
this
.
abnormalState
.
add
(
0
)
;
}
break
;
break
;
case
10502
:
case
10502
:
// 空运可出
// 空运可出
...
@@ -574,8 +586,21 @@ public class OrderQueryDTO {
...
@@ -574,8 +586,21 @@ public class OrderQueryDTO {
// 兼容空运已入仓的可出、备货中、已备货,且无异常无审批,海运的已入仓无异常无审批
// 兼容空运已入仓的可出、备货中、已备货,且无异常无审批,海运的已入仓无异常无审批
this
.
airShipment
=
20
;
this
.
airShipment
=
20
;
}
}
this
.
auditType
=
0
;
//this.auditType = 0;
this
.
abnormalState
=
0
;
if
(
CollectionUtils
.
isEmpty
(
auditType
)){
this
.
auditType
=
new
ArrayList
<>();
this
.
auditType
.
add
(
0
)
;
}
else
{
this
.
auditType
.
add
(
0
)
;
}
//this.abnormalState = 0;
if
(
CollectionUtils
.
isEmpty
(
abnormalState
)){
this
.
abnormalState
=
new
ArrayList
<>();
this
.
abnormalState
.
add
(
0
)
;
}
else
{
this
.
abnormalState
.
add
(
0
)
;
}
break
;
break
;
case
132411
:
case
132411
:
// 空运已出货
// 空运已出货
...
...
yudao-module-order/yudao-module-order-core/src/main/resources/mapper/order/OrderMapper.xml
View file @
3f1e4bd4
This diff is collapsed.
Click to expand it.
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