Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-wx-store-sharer
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
wx
yanxuan-wx-store-sharer
Commits
5028dc86
Commit
5028dc86
authored
Mar 14, 2025
by
fanjiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联调问题处理
parent
5fbd882f
Pipeline
#71639
passed with stages
in 1 minute 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
DrmSharerConfig.java
...e/yanxuan/wx/store/sharer/biz/config/DrmSharerConfig.java
+7
-2
No files found.
yanxuan-wx-store-sharer-biz/src/main/java/com/netease/yanxuan/wx/store/sharer/biz/config/DrmSharerConfig.java
View file @
5028dc86
...
@@ -239,7 +239,7 @@ public class DrmSharerConfig {
...
@@ -239,7 +239,7 @@ public class DrmSharerConfig {
* 删除推客的的分佣类型和比例信息
* 删除推客的的分佣类型和比例信息
*/
*/
private
void
deleteSharerCommissionInfo
(
CommissionSharerBO
oldCommissionSharer
)
{
private
void
deleteSharerCommissionInfo
(
CommissionSharerBO
oldCommissionSharer
)
{
if
(
null
==
oldCommissionSharer
||
StringUtils
.
isBlank
(
oldCommissionSharer
.
getOpenId
()))
{
if
(
null
==
oldCommissionSharer
||
StringUtils
.
isBlank
(
oldCommissionSharer
.
getOpenId
()))
{
return
;
return
;
}
}
SharerInfo
sharerInfo
=
getSharerInfoByOpenId
(
oldCommissionSharer
.
getOpenId
());
SharerInfo
sharerInfo
=
getSharerInfoByOpenId
(
oldCommissionSharer
.
getOpenId
());
...
@@ -391,7 +391,7 @@ public class DrmSharerConfig {
...
@@ -391,7 +391,7 @@ public class DrmSharerConfig {
* 删除推客的的分佣类型和比例信息
* 删除推客的的分佣类型和比例信息
*/
*/
private
void
deleteSharerProductCommissionInfo
(
CommissionSharerProductBO
oldBo
)
{
private
void
deleteSharerProductCommissionInfo
(
CommissionSharerProductBO
oldBo
)
{
if
(
null
==
oldBo
||
StringUtils
.
isBlank
(
oldBo
.
getOpenId
()))
{
if
(
null
==
oldBo
||
StringUtils
.
isBlank
(
oldBo
.
getOpenId
()))
{
return
;
return
;
}
}
SharerInfo
sharerInfo
=
getSharerInfoByOpenId
(
oldBo
.
getOpenId
());
SharerInfo
sharerInfo
=
getSharerInfoByOpenId
(
oldBo
.
getOpenId
());
...
@@ -468,6 +468,11 @@ public class DrmSharerConfig {
...
@@ -468,6 +468,11 @@ public class DrmSharerConfig {
sharerProductCommission
.
setCreateTime
(
now
);
sharerProductCommission
.
setCreateTime
(
now
);
}
}
sharerProductCommission
.
setSharerAppid
(
sharerAppid
);
sharerProductCommission
.
setSharerAppid
(
sharerAppid
);
// 微信分佣比例倍数
BigDecimal
wechatMultiplier
=
new
BigDecimal
(
WeChatApi
.
WECHAT_COMMISSION_RATIO_MULTIPLIER
);
commissionRatio
=
commissionRatio
.
divide
(
wechatMultiplier
)
.
setScale
(
2
,
RoundingMode
.
HALF_UP
);
sharerProductCommission
.
setCommissionRatio
(
commissionRatio
);
sharerProductCommission
.
setCommissionRatio
(
commissionRatio
);
sharerProductCommission
.
setCommissionType
(
CommissionTypeEnum
.
PLATFORM
.
getCode
().
toString
());
sharerProductCommission
.
setCommissionType
(
CommissionTypeEnum
.
PLATFORM
.
getCode
().
toString
());
sharerProductCommission
.
setUnset
(
unsetEnum
.
getCode
());
sharerProductCommission
.
setUnset
(
unsetEnum
.
getCode
());
...
...
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