|
|
@ -619,7 +619,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
from
|
|
|
|
from
|
|
|
|
mes_report_work
|
|
|
|
mes_report_work
|
|
|
|
where upload_status != #{uploadStatus} and prod_type = #{prodType}
|
|
|
|
where upload_status != #{uploadStatus} and prod_type = #{prodType}
|
|
|
|
and workorder_code = #{workorderCode} and del_flag='0'and attr1 != '1'<!--attr1是预报工-->
|
|
|
|
and workorder_code = #{workorderCode} and del_flag='0'<!-- and attr1 != '1' attr1是预报工-->
|
|
|
|
<if test='machineCode!=""'>
|
|
|
|
<if test='machineCode!=""'>
|
|
|
|
and machine_code = #{machineCode}
|
|
|
|
and machine_code = #{machineCode}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|