From e2968ab0a45cad85c9b794647ad0f02d01e1eb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83?= <15095123350@163.com> Date: Sat, 19 Oct 2024 08:11:33 +0800 Subject: [PATCH] 1 --- shangjian/XGL.Data/DBService/FormingMachineService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shangjian/XGL.Data/DBService/FormingMachineService.cs b/shangjian/XGL.Data/DBService/FormingMachineService.cs index e6259c0..2018d53 100644 --- a/shangjian/XGL.Data/DBService/FormingMachineService.cs +++ b/shangjian/XGL.Data/DBService/FormingMachineService.cs @@ -1222,7 +1222,7 @@ where machine_code = 'X1' and bind_status = '0' order by update_time DESC"; string date = DateTime.Parse(workDate).ToString("yyyy-MM-dd"); string sql = $@"select workorder_id,product_name,product_code from pro_order_workorder - where prod_line_code like '%{deviceCode}%' and product_date='{date}'"; + where prod_line_code like '%{deviceCode}%' and product_date='{date}' and parent_order=0"; //string sql = $@"select workorder_id,product_name // from pro_order_workorder // where prod_line_code like '%{deviceCode}% and status='w2''";