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