Просмотр исходного кода

上下行,改成查全部行别

ZhaoMn 3 лет назад
Родитель
Сommit
b3e043b42b

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

@@ -248,7 +248,7 @@
       <if test="query.lineId != null and query.lineId != ''">
         AND v.line_id = #{query.lineId}
       </if>
-      <if test="query.xingbie != null and query.xingbie != ''">
+      <if test="query.xingbie != null and query.xingbie != '' and query.xingbie != 'sxx'">
         AND a.xingbie = #{query.xingbie}
       </if>
       <if test="query.marker != null and query.marker != ''">

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

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

+ 2 - 2
railway-business/src/main/resources/mapper/baseinfo/BusZzdzxxMapper.xml

@@ -392,7 +392,7 @@
       <if test="lineId!=null and lineId!=''">
         and v.line_id=#{lineId}
       </if>
-      <if test="xingbie!=null and xingbie!=''">
+      <if test="xingbie!=null and xingbie!='' and xingbie!='sxx'">
         and t.xingbie=#{xingbie}
       </if>
       <if test="pillarCode!=null and pillarCode!=''">
@@ -413,7 +413,7 @@
         <if test="lineId!=null and lineId!=''">
           and v.line_id=#{lineId}
         </if>
-        <if test="xingbie!=null and xingbie!=''">
+        <if test="xingbie!=null and xingbie!='' and xingbie!='sxx'">
           and t.xingbie=#{xingbie}
         </if>
         )

+ 1 - 1
railway-business/src/main/resources/mapper/catenary/BusJlgzMapper.xml

@@ -254,7 +254,7 @@
           <if test="query.lineId != null and query.lineId != ''">
             AND v.line_id = #{query.lineId}
           </if>
-          <if test="query.xingbie != null and query.xingbie != ''">
+          <if test="query.xingbie != null and query.xingbie != '' and query.xingbie != 'sxx'">
             AND t.xingbie = #{query.xingbie}
           </if>
           <if test="query.marker != null and query.marker != ''">