Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform
Project
Project
Details
Activity
Releases
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
周健威
rs-cloud-platform
Commits
58a07c1b
Commit
58a07c1b
authored
Jan 21, 2021
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改省bug
parent
df166b35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
OrderInfo.java
...java/com/upyuns/platform/rs/website/entity/OrderInfo.java
+5
-0
OrderInfoBiz.java
...java/com/upyuns/platform/rs/website/biz/OrderInfoBiz.java
+1
-1
WebsiteScheduleTask.java
...m/upyuns/platform/rs/website/job/WebsiteScheduleTask.java
+2
-0
No files found.
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/entity/OrderInfo.java
View file @
58a07c1b
...
@@ -266,6 +266,11 @@ public class OrderInfo implements Serializable {
...
@@ -266,6 +266,11 @@ public class OrderInfo implements Serializable {
*/
*/
String
satellite
;
String
satellite
;
/**
* 数据是否已准备
*/
Integer
dataPrepare
;
@Transient
@Transient
private
List
<
OrderItem
>
orderItemList
;
private
List
<
OrderItem
>
orderItemList
;
...
...
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/biz/OrderInfoBiz.java
View file @
58a07c1b
...
@@ -950,7 +950,7 @@ public class OrderInfoBiz extends BaseBiz<OrderInfoMapper, OrderInfo> {
...
@@ -950,7 +950,7 @@ public class OrderInfoBiz extends BaseBiz<OrderInfoMapper, OrderInfo> {
if
(
imageInfoRelationList
!=
null
&&
imageInfoRelationList
.
size
()
>
0
)
{
if
(
imageInfoRelationList
!=
null
&&
imageInfoRelationList
.
size
()
>
0
)
{
imageInfoRelationList
.
stream
().
forEach
(
imageInfoRelation
->
{
imageInfoRelationList
.
stream
().
forEach
(
imageInfoRelation
->
{
ItemInfoVo
itemInfoVo
=
new
ItemInfoVo
();
ItemInfoVo
itemInfoVo
=
new
ItemInfoVo
();
itemInfoVo
.
setName
(
imageImgStorage
.
getName
()
+
imageInfoRelation
.
getFileWidth
()
);
itemInfoVo
.
setName
(
imageImgStorage
.
getName
()
+
" 尺寸:("
+
imageInfoRelation
.
getFileWidth
()+
")"
);
itemInfoVo
.
setId
(
Long
.
parseLong
(
String
.
valueOf
(
imageInfoRelation
.
getId
())));
itemInfoVo
.
setId
(
Long
.
parseLong
(
String
.
valueOf
(
imageInfoRelation
.
getId
())));
itemInfoVo
.
setType
(
ItemTypeEnum
.
IMAGE_STORAGE
.
getType
());
itemInfoVo
.
setType
(
ItemTypeEnum
.
IMAGE_STORAGE
.
getType
());
itemInfoVoList
.
add
(
itemInfoVo
);
itemInfoVoList
.
add
(
itemInfoVo
);
...
...
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/job/WebsiteScheduleTask.java
View file @
58a07c1b
...
@@ -26,6 +26,7 @@ import org.springframework.scheduling.annotation.Scheduled;
...
@@ -26,6 +26,7 @@ import org.springframework.scheduling.annotation.Scheduled;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
static
com
.
github
.
wxiaoqi
.
security
.
common
.
constant
.
CommonConstants
.
SYS_TRUE
;
import
static
com
.
upyuns
.
platform
.
rs
.
website
.
entity
.
OrderInfo
.
SENDTYPE_OL
;
import
static
com
.
upyuns
.
platform
.
rs
.
website
.
entity
.
OrderInfo
.
SENDTYPE_OL
;
import
static
com
.
upyuns
.
platform
.
rs
.
website
.
type
.
OrderStatusEnum
.
ORDER_PAID
;
import
static
com
.
upyuns
.
platform
.
rs
.
website
.
type
.
OrderStatusEnum
.
ORDER_PAID
;
import
static
com
.
upyuns
.
platform
.
rs
.
website
.
type
.
OrderStatusEnum
.
ORDER_SEND
;
import
static
com
.
upyuns
.
platform
.
rs
.
website
.
type
.
OrderStatusEnum
.
ORDER_SEND
;
...
@@ -68,6 +69,7 @@ public class WebsiteScheduleTask {
...
@@ -68,6 +69,7 @@ public class WebsiteScheduleTask {
List
<
OrderInfo
>
list
=
orderInfoBiz
.
selectByWeekend
(
w
->
{
List
<
OrderInfo
>
list
=
orderInfoBiz
.
selectByWeekend
(
w
->
{
w
.
andEqualTo
(
OrderInfo:
:
getStatus
,
ORDER_SEND
.
getType
());
w
.
andEqualTo
(
OrderInfo:
:
getStatus
,
ORDER_SEND
.
getType
());
w
.
andEqualTo
(
OrderInfo:
:
getSendType
,
SENDTYPE_OL
);
w
.
andEqualTo
(
OrderInfo:
:
getSendType
,
SENDTYPE_OL
);
w
.
andEqualTo
(
OrderInfo:
:
getDataPrepare
,
SYS_TRUE
);
// w.andEqualTo(OrderInfo::getUserId, 656);
// w.andEqualTo(OrderInfo::getUserId, 656);
return
w
;
return
w
;
});
});
...
...
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