|
|
@ -3307,6 +3307,29 @@ SELECT zab.CREATED_DATE_TIME,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="operationRateOfEquipmentReport" resultType="java.util.Map">
|
|
|
|
|
|
|
|
SELECT *
|
|
|
|
|
|
|
|
FROM OPERATION_RATE_OF_EQUIPMENT_REPORT V
|
|
|
|
|
|
|
|
WHERE 1=1
|
|
|
|
|
|
|
|
<if test="workCenter != null and workCenter != ''">
|
|
|
|
|
|
|
|
AND V.WORK_CENTER = #{workCenter}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="resrce != null and resrce != ''">
|
|
|
|
|
|
|
|
AND V.RESRCE = #{resrce}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="sapDescription != null and sapDescription != ''">
|
|
|
|
|
|
|
|
AND V.SAP_WORK_CENTER_DESCRIPTION like '%${sapDescription}%'
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="resrceDescription != null and resrceDescription != ''">
|
|
|
|
|
|
|
|
AND V.RESRCE_DESCRIPTION like '%${resrceDescription}%'
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
|
|
|
|
|
AND V.SEND_DATE >= #{startDate}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="endDate != null and endDate != ''">
|
|
|
|
|
|
|
|
AND V.SEND_DATE <= #{endDate}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|