mirror of
https://gitee.com/myxzgzs/boyue-vue-pro.git
synced 2025-08-08 16:32:46 +08:00
fix:【MALL 商城】修复退款通知中 merchantRefundId 字符串转换 Long 类型的问题
This commit is contained in:
parent
a690184524
commit
eca9307344
@ -141,9 +141,8 @@ public class AfterSaleController {
|
|||||||
public CommonResult<Boolean> updateAfterSaleRefunded(@RequestBody PayRefundNotifyReqDTO notifyReqDTO) {
|
public CommonResult<Boolean> updateAfterSaleRefunded(@RequestBody PayRefundNotifyReqDTO notifyReqDTO) {
|
||||||
log.info("[updateAfterRefund][notifyReqDTO({})]", notifyReqDTO);
|
log.info("[updateAfterRefund][notifyReqDTO({})]", notifyReqDTO);
|
||||||
if (StrUtil.startWithAny(notifyReqDTO.getMerchantRefundId(), "order-")) {
|
if (StrUtil.startWithAny(notifyReqDTO.getMerchantRefundId(), "order-")) {
|
||||||
tradeOrderUpdateService.updatePaidOrderRefunded(
|
Long orderId = Long.parseLong(StrUtil.subAfter(notifyReqDTO.getMerchantRefundId(), "order-", true));
|
||||||
Long.parseLong(notifyReqDTO.getMerchantRefundId()),
|
tradeOrderUpdateService.updatePaidOrderRefunded(orderId, notifyReqDTO.getPayRefundId());
|
||||||
notifyReqDTO.getPayRefundId());
|
|
||||||
} else {
|
} else {
|
||||||
afterSaleService.updateAfterSaleRefunded(
|
afterSaleService.updateAfterSaleRefunded(
|
||||||
Long.parseLong(notifyReqDTO.getMerchantRefundId()),
|
Long.parseLong(notifyReqDTO.getMerchantRefundId()),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user