This commit is contained in:
liuhongrui
2025-02-28 10:53:04 +08:00
parent f984aab876
commit 8547e4fcb7

View File

@@ -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参数且不为空 -->