From bc965851706eacc5676b1e722d2184c2aa31c824 Mon Sep 17 00:00:00 2001 From: panshuling321 Date: Thu, 28 Apr 2022 14:44:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=9C=BA=E7=AB=99=E5=88=97?= =?UTF-8?q?=E8=A1=A8logo=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/XhpcChargingStationMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xhpc-modules/xhpc-activity/src/main/resources/mapper/XhpcChargingStationMapper.xml b/xhpc-modules/xhpc-activity/src/main/resources/mapper/XhpcChargingStationMapper.xml index f3c7e179..9546176d 100644 --- a/xhpc-modules/xhpc-activity/src/main/resources/mapper/XhpcChargingStationMapper.xml +++ b/xhpc-modules/xhpc-activity/src/main/resources/mapper/XhpcChargingStationMapper.xml @@ -10,7 +10,7 @@ cs.name as name, ope.name as operatorName, cs.address as address, - (select url from xhpc_img where img_id = cs.img_id and del_flag =0 limit 1) as url, + SUBSTRING_INDEX(cs.img_id,',',1) as url, cs.client_visible as clientVisible, cs.status as status from xhpc_charging_station as cs