|
|
|
@ -26,10 +26,10 @@ |
|
|
|
and order_ref1 = #{orderRef1} |
|
|
|
</if> |
|
|
|
<if test="orderRef2 != null and orderRef2!= ''"> |
|
|
|
or order_ref2 = #{orderRef2} |
|
|
|
or ( order_ref2 = #{orderRef2} AND order_ref1 = #{orderRef1}) |
|
|
|
</if> |
|
|
|
<if test="orderRef3 != null and orderRef3!= ''"> |
|
|
|
or order_ref3 = #{orderRef3} |
|
|
|
AND order_ref3 = #{orderRef3} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
order by create_date |
|
|
|
|