瀏覽代碼

修复九防台账BUG

wuhonghao 4 年之前
父節點
當前提交
2169bbe037
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      railway-business/src/main/resources/mapper/baseinfo/BusPreventMapper.xml

+ 1 - 1
railway-business/src/main/resources/mapper/baseinfo/BusPreventMapper.xml

@@ -127,7 +127,7 @@
         and v1.line_id=#{lineId}
       </if>
       <if test="xingbie!=null and xingbie!=''">
-        and v.xingbie=#{xingbie}
+        and (v.xingbie=#{xingbie} or v.xingbie is null or v.xingbie='')
       </if>
       <if test="stationId!=null and stationId!=''">
         and v1.station_id=#{stationId}