|
|
@@ -27,7 +27,7 @@
|
|
|
and CONVERT (datetime, start_time) <![CDATA[ >= ]]> #{startTime} and CONVERT(datetime, end_time) <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
|
<if test="destination != null and destination !=''">
|
|
|
- and destination = #{destination}
|
|
|
+ and destination like concat('%', #{destination}, '%')
|
|
|
</if>
|
|
|
<if test="code != null and code !=''">
|
|
|
and code = #{code}
|
|
|
@@ -45,7 +45,7 @@
|
|
|
and CONVERT (datetime, start_time) <![CDATA[ >= ]]> #{startTime} and CONVERT(datetime, end_time) <![CDATA[ <= ]]> #{endTime}
|
|
|
</if>
|
|
|
<if test="destination != null and destination !=''">
|
|
|
- and destination = #{destination}
|
|
|
+ and destination like concat('%', #{destination}, '%')
|
|
|
</if>
|
|
|
<if test="code != null and code !=''">
|
|
|
and code = #{code}
|