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