From 517f97f8960307047df2a71103fc0243c3ee276b Mon Sep 17 00:00:00 2001 From: psh Date: Thu, 25 Apr 2024 10:26:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=8B=E6=9D=BFfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/nl/wms/board/service/dao/dto/ScDto.java | 2 +- .../wms/board/service/dao/mapper/BoardMapper.xml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/board/service/dao/dto/ScDto.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/board/service/dao/dto/ScDto.java index ced0d6c..a22aa60 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/board/service/dao/dto/ScDto.java +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/board/service/dao/dto/ScDto.java @@ -11,5 +11,5 @@ public class ScDto { private String number; private String standingTime; private String usedTime; - private int state; + private String state; } diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/board/service/dao/mapper/BoardMapper.xml b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/board/service/dao/mapper/BoardMapper.xml index f3e5075..7743eaf 100644 --- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/board/service/dao/mapper/BoardMapper.xml +++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/board/service/dao/mapper/BoardMapper.xml @@ -7,7 +7,7 @@ *, CASE WHEN b.standing_time > b.usedTime THEN - 0 ELSE 1 + '回温中' ELSE '回温完成' END AS state FROM ( @@ -28,7 +28,7 @@ FROM sch_base_vehiclematerialgroup WHERE - vehicle_code IN ( SELECT vehicle_code2 FROM sch_base_point WHERE region_code = #{region_code} AND vehicle_code IS NOT NULL )) a + vehicle_code IN ( SELECT vehicle_code2 FROM sch_base_point WHERE region_code = #{region_code} AND vehicle_code!='' AND vehicle_code IS NOT NULL )) a LEFT JOIN sch_base_material m ON a.vehicle_code = m.PalletSN AND m.group_bind_material_status = 2 ) b @@ -37,11 +37,11 @@