Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
pseer
gxpt_ht
Commits
e79fa81a
Commit
e79fa81a
authored
Nov 21, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
774135af
05a3ee79
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
RedisTask.java
share-quartz/src/main/java/share/quartz/task/RedisTask.java
+2
-1
SConsumerVo.java
...tem/src/main/java/share/system/domain/vo/SConsumerVo.java
+3
-0
SConsumerCouponServiceImpl.java
...share/system/service/impl/SConsumerCouponServiceImpl.java
+1
-1
SConsumerServiceImpl.java
.../java/share/system/service/impl/SConsumerServiceImpl.java
+3
-2
No files found.
share-quartz/src/main/java/share/quartz/task/RedisTask.java
View file @
e79fa81a
...
@@ -350,8 +350,9 @@ public class RedisTask {
...
@@ -350,8 +350,9 @@ public class RedisTask {
if
(
extracted
(
o
,
sOrders
,
sOrder
))
return
;
if
(
extracted
(
o
,
sOrders
,
sOrder
))
return
;
//更改订单状态
//更改订单状态
sOrder
.
setStatus
(
OrderStatusEnum
.
USED
.
getCode
());
sOrder
.
setStatus
(
OrderStatusEnum
.
USED
.
getCode
());
//
addNewConsumer(sOrder);
addNewConsumer
(
sOrder
);
isOrderService
.
updateById
(
sOrder
);
isOrderService
.
updateById
(
sOrder
);
pointActivitiesService
.
joinPointActivities
(
sOrder
);
// 修改房间状态
// 修改房间状态
SRoom
room
=
roomService
.
getById
(
sOrder
.
getRoomId
());
SRoom
room
=
roomService
.
getById
(
sOrder
.
getRoomId
());
if
(
ObjectUtil
.
isNotEmpty
(
room
))
{
if
(
ObjectUtil
.
isNotEmpty
(
room
))
{
...
...
share-system/src/main/java/share/system/domain/vo/SConsumerVo.java
View file @
e79fa81a
...
@@ -2,6 +2,7 @@ package share.system.domain.vo;
...
@@ -2,6 +2,7 @@ package share.system.domain.vo;
import
lombok.Data
;
import
lombok.Data
;
import
share.system.domain.ConsumerMember
;
import
share.system.domain.ConsumerMember
;
import
share.system.domain.PointActivities
;
import
share.system.domain.SConsumer
;
import
share.system.domain.SConsumer
;
import
java.util.List
;
import
java.util.List
;
...
@@ -51,4 +52,6 @@ public class SConsumerVo extends SConsumer {
...
@@ -51,4 +52,6 @@ public class SConsumerVo extends SConsumer {
private
List
<
ConsumerSecondaryCardVo
>
secondaryCardList
;
private
List
<
ConsumerSecondaryCardVo
>
secondaryCardList
;
private
PointActivities
pointActivities
;
}
}
share-system/src/main/java/share/system/service/impl/SConsumerCouponServiceImpl.java
View file @
e79fa81a
...
@@ -573,7 +573,7 @@ public class SConsumerCouponServiceImpl extends ServiceImpl<SConsumerCouponMappe
...
@@ -573,7 +573,7 @@ public class SConsumerCouponServiceImpl extends ServiceImpl<SConsumerCouponMappe
newSConsumerCoupon
.
setDuration
(
sCoupon
.
getDuration
());
newSConsumerCoupon
.
setDuration
(
sCoupon
.
getDuration
());
newSConsumerCoupon
.
setOrderType
(
sCoupon
.
getOrderType
());
newSConsumerCoupon
.
setOrderType
(
sCoupon
.
getOrderType
());
newSConsumerCoupon
.
setPackIds
(
sCoupon
.
getPackIds
());
newSConsumerCoupon
.
setPackIds
(
sCoupon
.
getPackIds
());
newSConsumerCoupon
.
setSourceType
(
SourceTypeEnum
.
G
IVE
.
getCode
());
newSConsumerCoupon
.
setSourceType
(
SourceTypeEnum
.
RECE
IVE
.
getCode
());
newSConsumerCoupon
.
setPlatformType
(
sCoupon
.
getPlatformType
());
newSConsumerCoupon
.
setPlatformType
(
sCoupon
.
getPlatformType
());
newSConsumerCoupon
.
setStartDate
(
sCoupon
.
getStartDate
());
newSConsumerCoupon
.
setStartDate
(
sCoupon
.
getStartDate
());
newSConsumerCoupon
.
setEndDate
(
DateUtils
.
addDays
(
new
Date
(),
giveDay
));
newSConsumerCoupon
.
setEndDate
(
DateUtils
.
addDays
(
new
Date
(),
giveDay
));
...
...
share-system/src/main/java/share/system/service/impl/SConsumerServiceImpl.java
View file @
e79fa81a
...
@@ -66,8 +66,8 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
...
@@ -66,8 +66,8 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
private
ConsumerSecondaryCardService
consumerSecondaryCardService
;
private
ConsumerSecondaryCardService
consumerSecondaryCardService
;
@Autowired
@Autowired
private
ConsumerMonthlyCardService
consumerMonthlyCardService
;
private
ConsumerMonthlyCardService
consumerMonthlyCardService
;
@Autowired
private
PointActivitiesService
pointActivitiesService
;
@Autowired
@Autowired
private
SConsumerService
sConsumerService
;
private
SConsumerService
sConsumerService
;
...
@@ -264,6 +264,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
...
@@ -264,6 +264,7 @@ public class SConsumerServiceImpl extends ServiceImpl<SConsumerMapper, SConsumer
}
}
vo
.
setConsumerWallet
(
consumerWalletVo
);
vo
.
setConsumerWallet
(
consumerWalletVo
);
}
}
vo
.
setPointActivities
(
pointActivitiesService
.
selectByConsumerId
());
List
<
Long
>
longList
=
storeConsumerMapper
.
selectByConsumerId
(
currentUser
.
getId
(),
PositionEnum
.
CLEANER
.
getCode
());
List
<
Long
>
longList
=
storeConsumerMapper
.
selectByConsumerId
(
currentUser
.
getId
(),
PositionEnum
.
CLEANER
.
getCode
());
if
(
CollectionUtils
.
isEmpty
(
longList
))
{
if
(
CollectionUtils
.
isEmpty
(
longList
))
{
vo
.
setIsCleaner
(
false
);
vo
.
setIsCleaner
(
false
);
...
...
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