|
@@ -591,8 +591,8 @@ public class PayOrderLogic {
|
|
|
|
|
|
if (payType.equals(PayTypeEnum.WECHAT.getKey())) {
|
|
|
if (workerOrder.getTotalAmount().doubleValue() > 0) {
|
|
|
- WorkerOrder workerOrder = workerOrderService.getById(orderId);
|
|
|
- if (workerOrder == null)
|
|
|
+ WorkerOrder workerOrderOne = workerOrderService.getById(orderId);
|
|
|
+ if (workerOrderOne == null)
|
|
|
throw new RemoteServiceException("支付失败请重新发起支付" );
|
|
|
String transcationId = wechatLogic.paymentFkm(workerOrder.getOrderId(), workerOrder.getTotalAmount(), authCode, "Y", ip,
|
|
|
adminWebsit.getPayWorkerCodeId(), workerOrder.getSource());
|