소스 검색

添加机车查询名称接口

wyyay 2 년 전
부모
커밋
e971781f39
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      business-service/src/main/resources/mapper/VehiclePositionMapper.xml

+ 1 - 1
business-service/src/main/resources/mapper/VehiclePositionMapper.xml

@@ -42,7 +42,7 @@
                 and a.railway_code = #{railwayCode}
             </if>
             <if test="lineDir != null and lineDir != 0">
-                and a.line_dir = #{currentYear}
+                and a.line_dir = #{lineDir}
             </if>
             <if test="status != null and status != 0">
                 and c.status = #{status}