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
b7d41ea9
Commit
b7d41ea9
authored
Sep 18, 2024
by
YG8429
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人工审核退款退累计权益金修改,小程序查询权益金列表排序
parent
4c3a8ab3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
SOrderServiceImpl.java
...ain/java/share/system/service/impl/SOrderServiceImpl.java
+2
-2
EquityFundLogMapper.xml
.../src/main/resources/mapper/system/EquityFundLogMapper.xml
+1
-0
SharingActivitiesMapper.xml
.../main/resources/mapper/system/SharingActivitiesMapper.xml
+1
-0
No files found.
share-system/src/main/java/share/system/service/impl/SOrderServiceImpl.java
View file @
b7d41ea9
...
@@ -498,11 +498,11 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
...
@@ -498,11 +498,11 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
if
(
ObjectUtil
.
isNotEmpty
(
equityFundLog
)){
if
(
ObjectUtil
.
isNotEmpty
(
equityFundLog
)){
ConsumerWallet
aConsumerWallet
=
consumerWalletService
.
getOne
(
new
LambdaQueryWrapper
<
ConsumerWallet
>()
ConsumerWallet
aConsumerWallet
=
consumerWalletService
.
getOne
(
new
LambdaQueryWrapper
<
ConsumerWallet
>()
.
eq
(
ConsumerWallet:
:
getConsumerId
,
sharingActivities
.
getUid
()));
.
eq
(
ConsumerWallet:
:
getConsumerId
,
sharingActivities
.
getUid
()));
equityFundLog
.
setEquityFund
(
equityFundLog
.
getEquityFund
().
negate
());
equityFundLogService
.
insertEquityFundLog
(
equityFundLog
);
aConsumerWallet
.
setEquityFund
(
aConsumerWallet
.
getEquityFund
().
subtract
(
equityFundLog
.
getEquityFund
()));
aConsumerWallet
.
setEquityFund
(
aConsumerWallet
.
getEquityFund
().
subtract
(
equityFundLog
.
getEquityFund
()));
aConsumerWallet
.
setAccumulateEquityFund
(
aConsumerWallet
.
getAccumulateEquityFund
().
subtract
(
equityFundLog
.
getEquityFund
()));
aConsumerWallet
.
setAccumulateEquityFund
(
aConsumerWallet
.
getAccumulateEquityFund
().
subtract
(
equityFundLog
.
getEquityFund
()));
consumerWalletService
.
updateConsumerWallet
(
aConsumerWallet
);
consumerWalletService
.
updateConsumerWallet
(
aConsumerWallet
);
equityFundLog
.
setEquityFund
(
equityFundLog
.
getEquityFund
().
negate
());
equityFundLogService
.
insertEquityFundLog
(
equityFundLog
);
}
}
}
}
}
}
...
...
share-system/src/main/resources/mapper/system/EquityFundLogMapper.xml
View file @
b7d41ea9
...
@@ -51,6 +51,7 @@
...
@@ -51,6 +51,7 @@
<if
test=
"avatar != null and avatar != ''"
>
and avatar = #{avatar}
</if>
<if
test=
"avatar != null and avatar != ''"
>
and avatar = #{avatar}
</if>
<if
test=
"newAvatar != null and newAvatar != ''"
>
and new_avatar = #{newAvatar}
</if>
<if
test=
"newAvatar != null and newAvatar != ''"
>
and new_avatar = #{newAvatar}
</if>
</where>
</where>
order by createTime desc
</select>
</select>
<select
id=
"selectEquityFundLogById"
parameterType=
"Long"
resultMap=
"EquityFundLogResult"
>
<select
id=
"selectEquityFundLogById"
parameterType=
"Long"
resultMap=
"EquityFundLogResult"
>
...
...
share-system/src/main/resources/mapper/system/SharingActivitiesMapper.xml
View file @
b7d41ea9
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
<if
test=
"phone != null and phone != ''"
>
and phone = #{phone}
</if>
<if
test=
"phone != null and phone != ''"
>
and phone = #{phone}
</if>
<if
test=
"newPhone != null and newPhone != ''"
>
and new_phone = #{newPhone}
</if>
<if
test=
"newPhone != null and newPhone != ''"
>
and new_phone = #{newPhone}
</if>
</where>
</where>
order by createTime desc
</select>
</select>
<select
id=
"selectSharingActivitiesById"
parameterType=
"Long"
resultMap=
"SharingActivitiesResult"
>
<select
id=
"selectSharingActivitiesById"
parameterType=
"Long"
resultMap=
"SharingActivitiesResult"
>
...
...
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