Преглед изворни кода

相机导入修改和筛选

gao.qiang пре 4 недеља
родитељ
комит
71be188198

+ 2 - 0
business-service/src/main/java/com/ozs/service/entity/vo/BaseCameraManagementVo.java

@@ -36,6 +36,8 @@ public class BaseCameraManagementVo extends PageVo implements Serializable {
      */
     private String railwayCode;
 
+    private Integer railwayType;
+
     /**
      * 监控范围开始里程位置
      */

+ 2 - 2
business-service/src/main/resources/mapper/service/BaseCameraManagementMapper.xml

@@ -55,8 +55,8 @@
             <if test="installMile != null and installMile != 0">
                 and a.install_mile =#{installMile}
             </if>
-            <if test="railwayCode != null and railwayCode != ''">
-                and a.railway_code =#{railwayCode}
+            <if test="railwayType != null and railwayType != 0">
+                and r.railway_type =#{railwayType}
             </if>
             <if test="ids != null and ids.size>0">
                 and a.id in