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
0186a3e5
Commit
0186a3e5
authored
Aug 30, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改验券,修改自动生成补充优惠卷购买金额
parent
13f950ee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
CouponRetryTask.java
...artz/src/main/java/share/quartz/task/CouponRetryTask.java
+1
-1
QPServiceImpl.java
...rc/main/java/share/system/service/impl/QPServiceImpl.java
+1
-1
SOrderServiceImpl.java
...ain/java/share/system/service/impl/SOrderServiceImpl.java
+0
-0
TiktokServiceImpl.java
...ain/java/share/system/service/impl/TiktokServiceImpl.java
+1
-1
No files found.
share-quartz/src/main/java/share/quartz/task/CouponRetryTask.java
View file @
0186a3e5
...
...
@@ -90,7 +90,7 @@ public class CouponRetryTask {
.
getOpenShopUuid
();
TuangouReceiptGetConsumedReponseEntity
getconsumed
=
qpService
.
getconsumed
(
item
.
getCouponCode
(),
openShopUuid
);
if
(!
ObjectUtils
.
isEmpty
(
getconsumed
))
{
item
.
setCouponPayPrice
(
BigDecimal
.
valueOf
(
getconsumed
.
getDeal_price
()));
item
.
setCouponPayPrice
(
BigDecimal
.
valueOf
(
getconsumed
.
getDeal_price
())
.
subtract
(
BigDecimal
.
valueOf
(
getconsumed
.
getOrder_shoppromo_amount
()))
);
logger
.
debug
(
"美团优惠卷购买金额为:"
+
item
.
getCouponPayPrice
());
}
else
{
item
.
setUseStatus
(
UserStatusEnum
.
EXPIRED
.
getCode
());
...
...
share-system/src/main/java/share/system/service/impl/QPServiceImpl.java
View file @
0186a3e5
...
...
@@ -138,7 +138,7 @@ public class QPServiceImpl implements QPService {
sConsumerCoupon
.
setCreateBy
(
String
.
valueOf
(
user
.
getId
()));
sConsumerCoupon
.
setCreateTime
(
new
Date
());
sConsumerCoupon
.
setOriginalPrice
(
BigDecimal
.
valueOf
(
prepare
.
getDeal_marketprice
()));
sConsumerCoupon
.
setCouponPayPrice
(
BigDecimal
.
valueOf
(
prepare
.
getDeal_price
()
));
sConsumerCoupon
.
setCouponPayPrice
(
prepare
.
getPayment_detail
().
get
(
0
).
getAmount
(
));
//查询美团团购信息
List
<
TuangouDealQueryShopDealResponseEntity
>
groupActivities
=
queryshopdeal
(
sStore
.
getOpenShopUuid
());
groupActivities
.
forEach
(
o
->
{
...
...
share-system/src/main/java/share/system/service/impl/SOrderServiceImpl.java
View file @
0186a3e5
This diff is collapsed.
Click to expand it.
share-system/src/main/java/share/system/service/impl/TiktokServiceImpl.java
View file @
0186a3e5
...
...
@@ -420,7 +420,7 @@ public class TiktokServiceImpl implements TiktokService {
sConsumerCoupon
.
setCreateTime
(
new
Date
());
Integer
originalAmount
=
amount
.
getInt
(
"list_market_amount"
);
sConsumerCoupon
.
setOriginalPrice
(
BigDecimal
.
valueOf
(
originalAmount
/
100
));
sConsumerCoupon
.
setCouponPayPrice
(
BigDecimal
.
valueOf
(
amount
.
getInt
(
"
coupon_
pay_amount"
)
/
100
));
sConsumerCoupon
.
setCouponPayPrice
(
BigDecimal
.
valueOf
(
amount
.
getInt
(
"pay_amount"
)
/
100
));
//时间戳转年月日时分秒
sConsumerCoupon
.
setEndDate
(
new
Date
(
entries
.
getInt
(
"expire_time"
)
*
1000L
));
//获取本日的00:00:00
...
...
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