Преглед на файлове

【CHG】隔离开关基础表的支柱号前有空格,查询去掉。

fenghao преди 4 години
родител
ревизия
680dae3985
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      railway-business/src/main/resources/mapper/baseinfo/BusGlkgMapper.xml

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

@@ -185,7 +185,7 @@
         and t.xingbie=#{xingbie}
       </if>
       <if test="pillarCode!=null and pillarCode!=''">
-        and t.pillar_code=#{pillarCode}
+        and trim(t.pillar_code)=#{pillarCode}
       </if>
       <if test="marker!=null and marker!=''">
         and t.marker=#{marker}