Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
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
gogirl-miniapp-backend
Commits
0efe06bf
Commit
0efe06bf
authored
Jun 28, 2022
by
wilse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix something
parent
60b10b98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Schedule.java
...ain/java/com/gogirl/infrastructure/schedule/Schedule.java
+3
-2
No files found.
src/main/java/com/gogirl/infrastructure/schedule/Schedule.java
View file @
0efe06bf
...
@@ -65,6 +65,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
...
@@ -65,6 +65,7 @@ import org.springframework.scheduling.annotation.EnableScheduling;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.web.client.RestTemplate
;
import
org.springframework.web.client.RestTemplate
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
@@ -784,7 +785,7 @@ public class Schedule {
...
@@ -784,7 +785,7 @@ public class Schedule {
//先删除热销标签
//先删除热销标签
//款式的所有标签
//款式的所有标签
List
<
BaseFeatures
>
baseFeaturesList
=
baseFeaturesMapper
.
queryProduceFeaturesById
(
baseProduce
.
getId
());
List
<
BaseFeatures
>
baseFeaturesList
=
baseFeaturesMapper
.
queryProduceFeaturesById
(
baseProduce
.
getId
());
if
(
null
!=
baseFeaturesList
)
{
BaseFeatures
specItem
=
ListUtil
.
getOne
(
baseFeaturesList
,
BaseFeatures:
:
getName
,
"限时特价"
);
BaseFeatures
specItem
=
ListUtil
.
getOne
(
baseFeaturesList
,
BaseFeatures:
:
getName
,
"限时特价"
);
if
(
specItem
!=
null
)
{
if
(
specItem
!=
null
)
{
...
@@ -792,7 +793,7 @@ public class Schedule {
...
@@ -792,7 +793,7 @@ public class Schedule {
.
eq
(
FeaturesMapping:
:
getDataId
,
baseProduce
.
getId
())
.
eq
(
FeaturesMapping:
:
getDataId
,
baseProduce
.
getId
())
.
eq
(
FeaturesMapping:
:
getFeaturesId
,
specItem
.
getId
()));
.
eq
(
FeaturesMapping:
:
getFeaturesId
,
specItem
.
getId
()));
}
}
}
//如果不是限时特价
//如果不是限时特价
if
(
producePromotionTime
==
null
)
{
if
(
producePromotionTime
==
null
)
{
...
...
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