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
829874d7
Commit
829874d7
authored
Aug 08, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refs/heads/dev' into test
parents
53383770
9b75b8a2
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
0 deletions
+8
-0
EquityMembersOrderController.java
...e/web/controller/system/EquityMembersOrderController.java
+1
-0
EquityMembersOrderServiceImpl.java
...re/system/service/impl/EquityMembersOrderServiceImpl.java
+1
-0
RechargeServiceImpl.java
...n/java/share/system/service/impl/RechargeServiceImpl.java
+1
-0
SOrderServiceImpl.java
...ain/java/share/system/service/impl/SOrderServiceImpl.java
+3
-0
EquityMembersOrderMapper.xml
...main/resources/mapper/system/EquityMembersOrderMapper.xml
+1
-0
RechargeMapper.xml
...ystem/src/main/resources/mapper/system/RechargeMapper.xml
+1
-0
No files found.
share-front/src/main/java/share/web/controller/system/EquityMembersOrderController.java
View file @
829874d7
...
@@ -55,6 +55,7 @@ public class EquityMembersOrderController extends BaseController {
...
@@ -55,6 +55,7 @@ public class EquityMembersOrderController extends BaseController {
public
AjaxResult
query
(
EquityMembersOrderVo
equityMembersOrder
)
{
public
AjaxResult
query
(
EquityMembersOrderVo
equityMembersOrder
)
{
SConsumer
user
=
FrontTokenComponent
.
getWxSConsumerEntry
();
SConsumer
user
=
FrontTokenComponent
.
getWxSConsumerEntry
();
equityMembersOrder
.
setConsumerId
(
user
.
getId
());
equityMembersOrder
.
setConsumerId
(
user
.
getId
());
equityMembersOrder
.
setPayStatus
(
YesNoEnum
.
yes
.
getIndex
());
List
<
EquityMembersOrderVo
>
list
=
equityMembersOrderService
.
selectEquityMembersOrderList
(
equityMembersOrder
);
List
<
EquityMembersOrderVo
>
list
=
equityMembersOrderService
.
selectEquityMembersOrderList
(
equityMembersOrder
);
return
success
(
list
);
return
success
(
list
);
}
}
...
...
share-system/src/main/java/share/system/service/impl/EquityMembersOrderServiceImpl.java
View file @
829874d7
...
@@ -146,6 +146,7 @@ public class EquityMembersOrderServiceImpl extends ServiceImpl<EquityMembersOrde
...
@@ -146,6 +146,7 @@ public class EquityMembersOrderServiceImpl extends ServiceImpl<EquityMembersOrde
}
}
}
}
EquityMembersOrder
equityMembersOrder
=
generatEquityMembersOrder
(
request
,
user
);
EquityMembersOrder
equityMembersOrder
=
generatEquityMembersOrder
(
request
,
user
);
equityMembersOrder
.
setCreateTime
(
new
Date
());
save
(
equityMembersOrder
);
save
(
equityMembersOrder
);
EquityMembersResultResponse
response
=
orderPayService
.
saobeiEquityMembersOrderPayment
(
equityMembersOrder
);
EquityMembersResultResponse
response
=
orderPayService
.
saobeiEquityMembersOrderPayment
(
equityMembersOrder
);
return
response
;
return
response
;
...
...
share-system/src/main/java/share/system/service/impl/RechargeServiceImpl.java
View file @
829874d7
...
@@ -138,6 +138,7 @@ public class RechargeServiceImpl extends ServiceImpl<RechargeMapper, Recharge> i
...
@@ -138,6 +138,7 @@ public class RechargeServiceImpl extends ServiceImpl<RechargeMapper, Recharge> i
}
}
}
}
Recharge
recharge
=
generatRecharge
(
request
,
user
);
Recharge
recharge
=
generatRecharge
(
request
,
user
);
recharge
.
setCreateTime
(
new
Date
());
save
(
recharge
);
save
(
recharge
);
RechargePayResultResponse
response
=
orderPayService
.
saobeiRechargePayment
(
recharge
);
RechargePayResultResponse
response
=
orderPayService
.
saobeiRechargePayment
(
recharge
);
return
response
;
return
response
;
...
...
share-system/src/main/java/share/system/service/impl/SOrderServiceImpl.java
View file @
829874d7
...
@@ -1193,6 +1193,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
...
@@ -1193,6 +1193,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
durationLog
.
setCurrentDuration
(
consumerWallet
.
getRemainingDuration
());
durationLog
.
setCurrentDuration
(
consumerWallet
.
getRemainingDuration
());
durationLog
.
setOperationType
(
YesNoEnum
.
yes
.
getIndex
());
durationLog
.
setOperationType
(
YesNoEnum
.
yes
.
getIndex
());
durationLog
.
setOperationTime
(
new
Date
());
durationLog
.
setOperationTime
(
new
Date
());
durationLog
.
setCreateTime
(
new
Date
());
durationLogService
.
save
(
durationLog
);
durationLogService
.
save
(
durationLog
);
consumerWallet
.
setRemainingDuration
(
consumerWallet
.
getRemainingDuration
().
add
(
sOrder
.
getDuration
()));
consumerWallet
.
setRemainingDuration
(
consumerWallet
.
getRemainingDuration
().
add
(
sOrder
.
getDuration
()));
consumerWalletService
.
updateById
(
consumerWallet
);
consumerWalletService
.
updateById
(
consumerWallet
);
...
@@ -1204,6 +1205,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
...
@@ -1204,6 +1205,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
balanceLog
.
setCurrentBalance
(
consumerWallet
.
getBalance
());
balanceLog
.
setCurrentBalance
(
consumerWallet
.
getBalance
());
balanceLog
.
setOperationType
(
YesNoEnum
.
yes
.
getIndex
());
balanceLog
.
setOperationType
(
YesNoEnum
.
yes
.
getIndex
());
balanceLog
.
setOperationTime
(
new
Date
());
balanceLog
.
setOperationTime
(
new
Date
());
balanceLog
.
setCreateTime
(
new
Date
());
balanceLogService
.
save
(
balanceLog
);
balanceLogService
.
save
(
balanceLog
);
consumerWallet
.
setBalance
(
consumerWallet
.
getBalance
().
add
(
sOrder
.
getBalance
()));
consumerWallet
.
setBalance
(
consumerWallet
.
getBalance
().
add
(
sOrder
.
getBalance
()));
consumerWalletService
.
updateById
(
consumerWallet
);
consumerWalletService
.
updateById
(
consumerWallet
);
...
@@ -1282,6 +1284,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
...
@@ -1282,6 +1284,7 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
consumerWallet
.
setRemainingIntegral
(
integral
);
consumerWallet
.
setRemainingIntegral
(
integral
);
integralLog
.
setOperationType
(
YesNoEnum
.
no
.
getIndex
());
integralLog
.
setOperationType
(
YesNoEnum
.
no
.
getIndex
());
integralLog
.
setOperationTime
(
new
Date
());
integralLog
.
setOperationTime
(
new
Date
());
integralLog
.
setCreateTime
(
new
Date
());
integralLogService
.
save
(
integralLog
);
integralLogService
.
save
(
integralLog
);
consumerWalletService
.
updateById
(
consumerWallet
);
consumerWalletService
.
updateById
(
consumerWallet
);
MemberProgressLog
memberProgressLog
=
new
MemberProgressLog
();
MemberProgressLog
memberProgressLog
=
new
MemberProgressLog
();
...
...
share-system/src/main/resources/mapper/system/EquityMembersOrderMapper.xml
View file @
829874d7
...
@@ -83,6 +83,7 @@
...
@@ -83,6 +83,7 @@
<if
test=
"payTime != null "
>
and o.pay_time = #{payTime}
</if>
<if
test=
"payTime != null "
>
and o.pay_time = #{payTime}
</if>
<if
test=
"isDelete != null "
>
and o.is_delete = #{isDelete}
</if>
<if
test=
"isDelete != null "
>
and o.is_delete = #{isDelete}
</if>
</where>
</where>
order by o.create_time desc
</select>
</select>
<select
id=
"selectEquityMembersOrderById"
parameterType=
"Long"
resultMap=
"EquityMembersOrderResult"
>
<select
id=
"selectEquityMembersOrderById"
parameterType=
"Long"
resultMap=
"EquityMembersOrderResult"
>
...
...
share-system/src/main/resources/mapper/system/RechargeMapper.xml
View file @
829874d7
...
@@ -109,6 +109,7 @@
...
@@ -109,6 +109,7 @@
<if
test=
"terminalTrace != null and terminalTrace != ''"
>
and r.terminal_trace = #{terminalTrace}
</if>
<if
test=
"terminalTrace != null and terminalTrace != ''"
>
and r.terminal_trace = #{terminalTrace}
</if>
<if
test=
"payTime != null "
>
and r.pay_time = #{payTime}
</if>
<if
test=
"payTime != null "
>
and r.pay_time = #{payTime}
</if>
</where>
</where>
order by r.create_time desc
</select>
</select>
<select
id=
"selectRechargeById"
parameterType=
"Long"
resultMap=
"RechargeResult"
>
<select
id=
"selectRechargeById"
parameterType=
"Long"
resultMap=
"RechargeResult"
>
...
...
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