|
|
|
@ -2777,5 +2777,26 @@ SELECT zab.CREATED_DATE_TIME,
|
|
|
|
|
ELSE 0 END)) "tardinessWork"
|
|
|
|
|
FROM Z_SFC_DISPATCH ZSD
|
|
|
|
|
</select>
|
|
|
|
|
<select id="projectAlignmentRateReport" resultType="java.util.Map" parameterType="java.util.HashMap">
|
|
|
|
|
SELECT * FROM PROJECT_ALIGNMENT_RATE_REPORT PARR
|
|
|
|
|
<where>
|
|
|
|
|
1=1
|
|
|
|
|
<if test="shopOrder != null and shopOrder != ''">
|
|
|
|
|
AND PARR.SHOP_ORDER = #{shopOrder}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="itemNumber != null and itemNumber != ''">
|
|
|
|
|
AND PARR.ITEM_NUMBER = #{itemNumber}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="workOrder != null and workOrder != ''">
|
|
|
|
|
AND PARR.WORK_ORDER = #{workOrder}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="item != null and item != ''">
|
|
|
|
|
AND PARR.ITEM = #{item}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="itemDescription != null and itemDescription != ''">
|
|
|
|
|
AND PARR.ITEM_DESCRIPTION = #{itemDescription}
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
</mapper>
|