Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
rpc-scrm-shopmall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d51f5489
authored
Jan 20, 2026
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(integralTransferOut): 添加更新实际商户信息功能
1 parent
d0f85037
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
rpc-scrm-shopmall/src/main/java/cn/com/glsx/scrm/shopmall/mapper/IntegralTransferOutMapper.java
rpc-scrm-shopmall/src/main/resources/META-INF/orm/IntegralTransferOutMapper.xml
rpc-scrm-shopmall/src/main/java/cn/com/glsx/scrm/shopmall/mapper/IntegralTransferOutMapper.java
View file @
d51f548
...
@@ -47,4 +47,6 @@ public interface IntegralTransferOutMapper extends OreMapper<IntegralTransferOut
...
@@ -47,4 +47,6 @@ public interface IntegralTransferOutMapper extends OreMapper<IntegralTransferOut
* @return
* @return
*/
*/
int
removeAllFromApproval
(
@Param
(
"approvalId"
)
Integer
approvalId
,
@Param
(
"updatedBy"
)
String
updatedBy
);
int
removeAllFromApproval
(
@Param
(
"approvalId"
)
Integer
approvalId
,
@Param
(
"updatedBy"
)
String
updatedBy
);
int
updateRealityMerchant
(
IntegralTransferOut
order
);
}
}
\ No newline at end of file
\ No newline at end of file
rpc-scrm-shopmall/src/main/resources/META-INF/orm/IntegralTransferOutMapper.xml
View file @
d51f548
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
ito.channel, ito.channel_provider, ito.created_date, ito.error_message,ito.settle_amount,ito.receipt_date,ito.transfer_type,ito.mode, ito.source, ito.appid,
ito.channel, ito.channel_provider, ito.created_date, ito.error_message,ito.settle_amount,ito.receipt_date,ito.transfer_type,ito.mode, ito.source, ito.appid,
ito.approval_id, itoo.`type` as itooType, itoo.updated_date as itooCreatedDate, itoo.created_by as itooCreatedBy, itoo.remark as itooRemark,
ito.approval_id, itoo.`type` as itooType, itoo.updated_date as itooCreatedDate, itoo.created_by as itooCreatedBy, itoo.remark as itooRemark,
itoo.result as itooResult,
itoo.result as itooResult,
ito.reality_platform_merchant_name, ito.reality_merchant_id,
ito.reality_platform_merchant_name, ito.reality_
platform_
merchant_id,
ito.payment_entity_code, ito.payment_entity_name, ito.levy_code, ito.levy_name, ito.levy_channel_code, ito.levy_channel_name
ito.payment_entity_code, ito.payment_entity_name, ito.levy_code, ito.levy_name, ito.levy_channel_code, ito.levy_channel_name
from shopmall_integral_transfer_out ito
from shopmall_integral_transfer_out ito
left join shopmall_integral_transfer_out_operation itoo on itoo.transfer_out_id = ito.id and itoo.deleted_flag = 'N'
left join shopmall_integral_transfer_out_operation itoo on itoo.transfer_out_id = ito.id and itoo.deleted_flag = 'N'
...
@@ -226,6 +226,12 @@
...
@@ -226,6 +226,12 @@
where approval_id = #{approvalId} and status = 7 and deleted_flag = 'N';
where approval_id = #{approvalId} and status = 7 and deleted_flag = 'N';
</update>
</update>
<update
id=
"updateRealityMerchant"
>
update shopmall_integral_transfer_out
set reality_platform_merchant_id = #{realityMerchantId}, reality_platform_merchant_name = #{realityMerchantName}
where id = #{id} and deleted_flag = 'N';
</update>
<select
id=
"getSettleAmount"
resultType=
"cn.com.glsx.scrm.shopmall.dto.integral.IntegralSettleAmountDTO"
>
<select
id=
"getSettleAmount"
resultType=
"cn.com.glsx.scrm.shopmall.dto.integral.IntegralSettleAmountDTO"
>
select
select
round(ifnull(sum(if(channel = 'TXIAT',settle_amount,0)),0)/100,2) as yiXuanSettleAmount,
round(ifnull(sum(if(channel = 'TXIAT',settle_amount,0)),0)/100,2) as yiXuanSettleAmount,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment