mirror of
				https://github.com/YunaiV/ruoyi-vue-pro.git
				synced 2025-10-31 10:37:41 +08:00 
			
		
		
		
	fix:【MALL 商城】修复退款通知中 merchantRefundId 字符串转换 Long 类型的问题
This commit is contained in:
		| @ -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()), | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV