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
36623103
Commit
36623103
authored
Sep 04, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release-fix' into dev
parents
38e03f56
adb1330c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
OrderQueryVO.java
.../cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
+18
-0
No files found.
yudao-module-order/yudao-module-order-core/src/main/java/cn/iocoder/yudao/module/order/vo/order/OrderQueryVO.java
View file @
36623103
package
cn
.
iocoder
.
yudao
.
module
.
order
.
vo
.
order
;
package
cn
.
iocoder
.
yudao
.
module
.
order
.
vo
.
order
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.*
;
import
lombok.*
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.Collectors
;
import
io.swagger.annotations.*
;
import
io.swagger.annotations.*
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
org.springframework.format.annotation.DateTimeFormat
;
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
;
...
@@ -578,6 +581,9 @@ public class OrderQueryVO {
...
@@ -578,6 +581,9 @@ public class OrderQueryVO {
@ApiModelProperty
(
value
=
"订单状态详情见字典:order_status"
)
@ApiModelProperty
(
value
=
"订单状态详情见字典:order_status"
)
private
List
<
Integer
>
statusList
;
private
List
<
Integer
>
statusList
;
@ApiModelProperty
(
value
=
"订单状态详情见字典:order_status"
)
private
String
statusString
;
@ApiModelProperty
(
value
=
"订单异常状态(字典 order_abnormal_state)"
)
@ApiModelProperty
(
value
=
"订单异常状态(字典 order_abnormal_state)"
)
private
List
<
Integer
>
abnormalStateList
;
private
List
<
Integer
>
abnormalStateList
;
...
@@ -617,7 +623,19 @@ public class OrderQueryVO {
...
@@ -617,7 +623,19 @@ public class OrderQueryVO {
}
}
}
}
}
}
public
void
setStatusString
(
String
statusString
)
{
if
(
StringUtils
.
isNotBlank
(
statusString
))
{
this
.
asStatusList
=
Arrays
.
stream
(
statusString
.
split
(
StrUtil
.
COMMA
)).
map
(
Integer:
:
parseInt
).
collect
(
Collectors
.
toList
());
if
(
CollectionUtil
.
isNotEmpty
(
this
.
asStatusList
))
{
this
.
statusList
=
new
ArrayList
<>();
for
(
Integer
asStatus
:
asStatusList
)
{
combinedStateList
(
asStatus
,
this
.
transportId
);
}
}
}
}
public
void
setStatusList
(
List
<
Integer
>
statusList
)
{
public
void
setStatusList
(
List
<
Integer
>
statusList
)
{
this
.
statusList
=
statusList
;
this
.
asStatusList
=
statusList
;
this
.
asStatusList
=
statusList
;
if
(
CollectionUtil
.
isNotEmpty
(
this
.
asStatusList
))
{
if
(
CollectionUtil
.
isNotEmpty
(
this
.
asStatusList
))
{
this
.
statusList
=
new
ArrayList
<>();
this
.
statusList
=
new
ArrayList
<>();
...
...
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