|
|
|
@ -182,6 +182,9 @@ |
|
|
|
<if test="dsPart.formingThickness != null"> |
|
|
|
<if test="dsPart.formingThickness != null"> |
|
|
|
AND p.FORMING_THICKNESS = #{dsPart.formingThickness} |
|
|
|
AND p.FORMING_THICKNESS = #{dsPart.formingThickness} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="dsPart.productType != null"> |
|
|
|
|
|
|
|
AND p.PRODUCT_TYPE = #{dsPart.productType} |
|
|
|
|
|
|
|
</if> |
|
|
|
<if test="dsPart.startDate != null and dsPart.endDate != null"> |
|
|
|
<if test="dsPart.startDate != null and dsPart.endDate != null"> |
|
|
|
AND p.NEXT_DUE BETWEEN TO_DATE(#{dsPart.startDate}, 'YYYY-MM-DD') |
|
|
|
AND p.NEXT_DUE BETWEEN TO_DATE(#{dsPart.startDate}, 'YYYY-MM-DD') |
|
|
|
AND TO_DATE(#{dsPart.endDate}, 'YYYY-MM-DD') + 1 - 1/86400 |
|
|
|
AND TO_DATE(#{dsPart.endDate}, 'YYYY-MM-DD') + 1 - 1/86400 |
|
|
|
|