|
|
@ -712,9 +712,16 @@
|
|
|
|
<select id="getInspectTaskList" resultType="com.foreverwin.mesnac.equip.model.ResourceInspectTask">
|
|
|
|
<select id="getInspectTaskList" resultType="com.foreverwin.mesnac.equip.model.ResourceInspectTask">
|
|
|
|
SELECT * FROM WIP.Z_RESOURCE_INSPECT_TASK ZRIT
|
|
|
|
SELECT * FROM WIP.Z_RESOURCE_INSPECT_TASK ZRIT
|
|
|
|
WHERE ZRIT.SITE = #{site}
|
|
|
|
WHERE ZRIT.SITE = #{site}
|
|
|
|
AND ZRIT.RESOURCE_INSPECT_PLAN_BO = #{resourceInspectPlanBo}
|
|
|
|
<if test="resourceInspectPlanBo != null and resourceInspectPlanBo != ''">
|
|
|
|
|
|
|
|
AND ZRIT.RESOURCE_INSPECT_PLAN_BO = #{resourceInspectPlanBo}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="resrce != null and resrce != ''">
|
|
|
|
|
|
|
|
AND ZRIT.resrce = #{resrce}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
AND ZRIT.STATUS IN ('DOING','NEW')
|
|
|
|
|
|
|
|
/*AND ZRIT.RESOURCE_INSPECT_PLAN_BO = #{resourceInspectPlanBo}
|
|
|
|
AND ZRIT.RESRCE = #{resrce}
|
|
|
|
AND ZRIT.RESRCE = #{resrce}
|
|
|
|
AND ZRIT.STATUS IN ('DOING','NEW')
|
|
|
|
AND ZRIT.STATUS IN ('DOING','NEW')*/
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<!--自定义sql-->
|
|
|
|
<!--自定义sql-->
|
|
|
|
|
|
|
|
|
|
|
|