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
26e84afc
Commit
26e84afc
authored
Sep 18, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refs/heads/dev' into test
parents
a240f478
b7d41ea9
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 @
26e84afc
...
@@ -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 @
26e84afc
...
@@ -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 @
26e84afc
...
@@ -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