|
|
|
|
@ -162,7 +162,7 @@ |
|
|
|
|
AND p.IS_DELETED = 0 |
|
|
|
|
|
|
|
|
|
<if test="dsPart.plate != null and dsPart.plate != ''"> |
|
|
|
|
AND p.PLATE = #{dsPart.plate} |
|
|
|
|
AND p.PLATE = LIKE '%' || #{dsPart.plate} || '%' |
|
|
|
|
</if> |
|
|
|
|
<if test="dsPart.partCode != null and dsPart.partCode != ''"> |
|
|
|
|
AND p.PART_CODE LIKE '%' || #{dsPart.partCode} || '%' |
|
|
|
|
@ -174,7 +174,7 @@ |
|
|
|
|
AND p.SIN_TER_TYPE = #{dsPart.sinTerType} |
|
|
|
|
</if> |
|
|
|
|
<if test="dsPart.material != null and dsPart.material != ''"> |
|
|
|
|
AND p.MATERIAL = #{dsPart.material} |
|
|
|
|
AND p.MATERIAL = LIKE '%' || #{dsPart.material} || '%' |
|
|
|
|
</if> |
|
|
|
|
<if test="dsPart.powderWeight != null"> |
|
|
|
|
AND p.POWDER_WEIGHT = #{dsPart.powderWeight} |
|
|
|
|
@ -183,7 +183,10 @@ |
|
|
|
|
AND p.FORMING_THICKNESS = #{dsPart.formingThickness} |
|
|
|
|
</if> |
|
|
|
|
<if test="dsPart.productType != null"> |
|
|
|
|
AND p.PRODUCT_TYPE = #{dsPart.productType} |
|
|
|
|
AND p.PRODUCT_TYPE = LIKE '%' || #{dsPart.productType} || '%' |
|
|
|
|
</if> |
|
|
|
|
<if test="dsPart.hardness != null"> |
|
|
|
|
AND p.HARDNESS = LIKE '%' || #{dsPart.hardness} || '%' |
|
|
|
|
</if> |
|
|
|
|
<if test="dsPart.startDate != null and dsPart.endDate != null"> |
|
|
|
|
AND p.NEXT_DUE BETWEEN TO_DATE(#{dsPart.startDate}, 'YYYY-MM-DD') |
|
|
|
|
|