소스 검색

【CHG】调整隔离开关检查表SQL错误

ZhaoMn 4 년 전
부모
커밋
db7b3405ad
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      railway-business/src/main/resources/mapper/catenary/BusJcbGlkgMapper.xml

+ 5 - 5
railway-business/src/main/resources/mapper/catenary/BusJcbGlkgMapper.xml

@@ -676,22 +676,22 @@
     <where>
       t.del_flag = '0'
       <if test="deptId!=null and deptId!=''">
-        and t.dept_id=#{deptId}
+        and v.dept_id=#{deptId}
       </if>
       <if test="deptName!=null and deptName!=''">
-        and t.dept_name=#{deptName}
+        and v.dept_name=#{deptName}
       </if>
       <if test="lineId!=null and lineId!=''">
-        and t.line_id=#{lineId}
+        and v.line_id=#{lineId}
       </if>
       <if test="lineName!=null and lineName!=''">
-        and t.line_name=#{lineName}
+        and v.line_name=#{lineName}
       </if>
       <if test="stationId!=null and stationId!=''">
         and v.station_id=#{stationId}
       </if>
       <if test="stationName!=null and stationName!=''">
-        and t.station_name=#{stationName}
+        and v.station_name=#{stationName}
       </if>
       <if test="xingbie!=null and xingbie!=''">
         and t.xingbie=#{xingbie}