记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
aa9a3ca4
Commit
aa9a3ca4
authored
Dec 07, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/jxl_1201_jifenDraw' into jxl_1201_jifenDraw
parents
24ea35ae
44b46d26
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
CandyMgtCouponAdminServiceImpl.java
...ai/candy/service/impl/CandyMgtCouponAdminServiceImpl.java
+4
-2
PlatformCandyCouponService.java
...atform/service/impl/candy/PlatformCandyCouponService.java
+5
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/candy/service/impl/CandyMgtCouponAdminServiceImpl.java
View file @
aa9a3ca4
...
@@ -387,8 +387,10 @@ public class CandyMgtCouponAdminServiceImpl extends ServiceImpl<CandyMgtCouponMa
...
@@ -387,8 +387,10 @@ public class CandyMgtCouponAdminServiceImpl extends ServiceImpl<CandyMgtCouponMa
initCoupon
.
setRedeemStart
(
eventAt
);
initCoupon
.
setRedeemStart
(
eventAt
);
initCoupon
.
setRedeemStop
(
initCoupon
.
getRedeemStart
().
plusDays
(
redeemValidity
).
withHour
(
23
).
withMinute
(
59
).
withSecond
(
59
));
initCoupon
.
setRedeemStop
(
initCoupon
.
getRedeemStart
().
plusDays
(
redeemValidity
).
withHour
(
23
).
withMinute
(
59
).
withSecond
(
59
));
}
}
if
(
parameter
.
getBindType
()
!=
2
&&
parameter
.
getBindType
()
!=
4
)
{
// 券领取方式[2-积分商品|4-会员专属],实际发放至用户时计算有效期
initCoupon
.
setEffectAt
(
eventAt
);
initCoupon
.
setEffectAt
(
eventAt
);
initCoupon
.
setExpireAt
(
initCoupon
.
getEffectAt
().
plusDays
(
parameter
.
getValidity
()).
withHour
(
23
).
withMinute
(
59
).
withSecond
(
59
));
initCoupon
.
setExpireAt
(
initCoupon
.
getEffectAt
().
plusDays
(
parameter
.
getValidity
()).
withHour
(
23
).
withMinute
(
59
).
withSecond
(
59
));
}
initCoupon
.
setOperator
(
ShiroUtils
.
getLoginName
());
initCoupon
.
setOperator
(
ShiroUtils
.
getLoginName
());
initCoupon
.
setCreatedAt
(
nowTime
);
initCoupon
.
setCreatedAt
(
nowTime
);
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/impl/candy/PlatformCandyCouponService.java
View file @
aa9a3ca4
...
@@ -296,6 +296,11 @@ public class PlatformCandyCouponService extends ServiceImpl<CandyCouponMapper, C
...
@@ -296,6 +296,11 @@ public class PlatformCandyCouponService extends ServiceImpl<CandyCouponMapper, C
AbstractRedisUtil
redisAdamUtil
=
redisDataSourceUtil
.
getRedisAdamUtil
();
AbstractRedisUtil
redisAdamUtil
=
redisDataSourceUtil
.
getRedisAdamUtil
();
if
(
coupon
.
getBindType
()
==
2
)
{
// 券领取方式[2-积分商品],实际发放至用户时计算有效期
coupon
.
setEffectAt
(
now
);
coupon
.
setExpireAt
(
coupon
.
getEffectAt
().
plusDays
(
coupon
.
getValidity
()).
withHour
(
23
).
withMinute
(
59
).
withSecond
(
59
));
}
// 指定手机号发放券中,会员权益券失效时间duedAt需要同步会员到期时间expiryAt
// 指定手机号发放券中,会员权益券失效时间duedAt需要同步会员到期时间expiryAt
Integer
exclusively
=
mgtCoupon
.
getExclusively
();
Integer
exclusively
=
mgtCoupon
.
getExclusively
();
boolean
isMemberRightsCoupon
=
exclusively
==
1
;
boolean
isMemberRightsCoupon
=
exclusively
==
1
;
...
...
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