1 year ago
parent 98689350a2
commit e2968ab0a4

@ -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''";

Loading…
Cancel
Save