From e1368bf800824ebaa28472dd7105695bd9fe8fda Mon Sep 17 00:00:00 2001 From: yuyang Date: Mon, 6 Dec 2021 10:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=B3=E8=AF=B7=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xhpc/order/service/impl/XhpcRealTimeOrderServiceImpl.java | 1 + .../src/main/resources/mapper/XhpcChargeOrderMapper.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/service/impl/XhpcRealTimeOrderServiceImpl.java b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/service/impl/XhpcRealTimeOrderServiceImpl.java index e2c5a6e2..cfa4a100 100644 --- a/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/service/impl/XhpcRealTimeOrderServiceImpl.java +++ b/xhpc-modules/xhpc-order/src/main/java/com/xhpc/order/service/impl/XhpcRealTimeOrderServiceImpl.java @@ -355,6 +355,7 @@ public class XhpcRealTimeOrderServiceImpl implements IXhpcRealTimeOrderService { String internetSerialNumber = xhpcChargeOrder.getInternetSerialNumber(); if(source==1 && internetSerialNumber!=null){ String substring = internetSerialNumber.substring(0, 9); + xhpcHistoryOrder.setInternetSerialNumber(xhpcChargeOrder.getInternetSerialNumber()); Map operatorIdEvcs = xhpcRealTimeOrderMapper.getOperatorIdEvcs(substring); if(operatorIdEvcs !=null){ //未完成 diff --git a/xhpc-modules/xhpc-order/src/main/resources/mapper/XhpcChargeOrderMapper.xml b/xhpc-modules/xhpc-order/src/main/resources/mapper/XhpcChargeOrderMapper.xml index 8c070110..15cd2ce5 100644 --- a/xhpc-modules/xhpc-order/src/main/resources/mapper/XhpcChargeOrderMapper.xml +++ b/xhpc-modules/xhpc-order/src/main/resources/mapper/XhpcChargeOrderMapper.xml @@ -74,7 +74,7 @@ select count(charge_order_id) from xhpc_charge_order - where user_id = #{userId} and status=0 and del_flag =0 + where user_id = #{userId} and status=0 and del_flag =0 and source =0