From 05afe260d2a93f3d85ac65796fabcae3afebd2b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E6=9C=A8c?= <857448963@qq.com> Date: Thu, 2 Nov 2023 09:25:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/njcn/device/pq/mapper/mapping/LineMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pqs-device/pq-device/pq-device-boot/src/main/java/com/njcn/device/pq/mapper/mapping/LineMapper.xml b/pqs-device/pq-device/pq-device-boot/src/main/java/com/njcn/device/pq/mapper/mapping/LineMapper.xml index 1364140c9..aeab707b8 100644 --- a/pqs-device/pq-device/pq-device-boot/src/main/java/com/njcn/device/pq/mapper/mapping/LineMapper.xml +++ b/pqs-device/pq-device/pq-device-boot/src/main/java/com/njcn/device/pq/mapper/mapping/LineMapper.xml @@ -1370,8 +1370,8 @@ SELECT line.id AS lineId, concat(sub.name,"_",vo.name,"_",line.name) as lineName, - concat(detail.pt1,concat(':',detail.pt2)) as pt, - concat(detail.ct1,concat(':',detail.ct2)) as ct, + concat(round(detail.pt1,0),concat(':',round(detail.pt2,0))) as pt, + concat(round(detail.ct1,0),concat(':',round(detail.ct2,0))) as ct, detail.Dev_Capacity as Dev_Capacity, detail.Short_Capacity as Short_Capacity, detail.Standard_Capacity as Standard_Capacity,