|
|
|
@ -179,7 +179,7 @@
|
|
|
|
|
qct.confirm_man_name confirmManName
|
|
|
|
|
from qc_check_task qct
|
|
|
|
|
left join pro_order_workorder pow on qct.order_no = pow.workorder_code
|
|
|
|
|
where qct.check_type = 'checkTypeSCXJ' <!--and qct.del_flag = '0' 因为开始巡检第一个是删除标识的模板del_flag=1-->
|
|
|
|
|
where qct.check_type = 'checkTypeSCXJ' and qct.del_flag = '0'
|
|
|
|
|
and pow.del_flag = '0'
|
|
|
|
|
and CONVERT(varchar(10),income_time, 120) = CONVERT(varchar(10),GETDATE(), 120)
|
|
|
|
|
and pow.status = 'w2' and pow.parent_order = '0'
|
|
|
|
|