up
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
<where>
|
<where>
|
||||||
<!-- 如果传入busNo参数,且不为空 -->
|
<!-- 如果传入busNo参数,且不为空 -->
|
||||||
<if test="busNo != null and busNo != ''">
|
<if test="busNo != null and busNo != ''">
|
||||||
AND pt.busNo LIKE CONCAT('%',#{busNo}, '%')
|
AND pt.bus_no LIKE CONCAT('%',#{busNo}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<!-- 如果传入name参数,且不为空 -->
|
<!-- 如果传入name参数,且不为空 -->
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
<where>
|
<where>
|
||||||
<!-- 如果传入busNo参数,且不为空 -->
|
<!-- 如果传入busNo参数,且不为空 -->
|
||||||
<if test="busNo != null and busNo != ''">
|
<if test="busNo != null and busNo != ''">
|
||||||
AND pt.busNo LIKE CONCAT('%',#{busNo}, '%')
|
AND pt.bus_no LIKE CONCAT('%',#{busNo}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
<!-- 如果传入name参数,且不为空 -->
|
<!-- 如果传入name参数,且不为空 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user