|
|
@ -3330,6 +3330,29 @@ SELECT zab.CREATED_DATE_TIME,
|
|
|
|
AND V.SEND_DATE <= #{endDate}
|
|
|
|
AND V.SEND_DATE <= #{endDate}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="weldingForepartsTurnoverReport" resultType="java.util.Map">
|
|
|
|
|
|
|
|
SELECT V.*
|
|
|
|
|
|
|
|
FROM WELDING_FOREPARTS_TURNOVER_REPORT V
|
|
|
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
|
|
|
<if test="workOrder != null and workOrder != ''">
|
|
|
|
|
|
|
|
AND V.H_WORK_ORDER = #{workOrder}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="shopOrder != null and shopOrder != ''">
|
|
|
|
|
|
|
|
AND V.H_SHOP_ORDER = #{shopOrder}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="sfc != null and sfc != ''">
|
|
|
|
|
|
|
|
AND V.H_SFC = #{sfc}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="item != null and item != ''">
|
|
|
|
|
|
|
|
AND V.H_ITEM = #{item}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="itemDescription != null and itemDescription != ''">
|
|
|
|
|
|
|
|
AND V.H_ITEM_DESCRIPTION like '%${itemDescription}%'
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="isCompleted != null and isCompleted != ''">
|
|
|
|
|
|
|
|
AND V.HJ_COMPLETED = #{isCompleted}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|