From fb63f767dd07b3a30ab9b7f9639b014ec6f48a64 Mon Sep 17 00:00:00 2001 From: Marvin Date: Tue, 15 Aug 2023 23:09:20 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=B7=A5=E5=8D=95KeyParts?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=EF=BC=8C=E5=A2=9E=E5=8A=A0=E6=8C=89=E5=BA=8F?= =?UTF-8?q?=E5=8F=B7=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs index 9df06ea7..a9023c14 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs @@ -712,6 +712,7 @@ and b.item_no = '{0}' and a.barcode_no = '{1}'", kp_no, barcode_no); sql = sql + " from jhames.barcode_info b,jhames.wip_barcode c,jhames.wip_att d,jhames.stations e"; sql = sql + " where b.barcode_no between c.start_no and c.end_no and c.wip_no = d.wip_no and b.station_id = e.station_id"; sql = sql + " and c.wip_no = '" + wipNO + "'"; + sql = sql + " order by b.barcode_no "; using (var barcode_cmd = conn.CreateCommand()) {