瀏覽代碼

【ADD】检测表汇总接口

ZhaoMn 4 年之前
父節點
當前提交
4e34de4ce5

+ 1 - 0
railway-admin/src/main/java/com/railway/web/controller/business/catenary/BusJcebController.java

@@ -56,6 +56,7 @@ public class BusJcebController extends BaseController {
   @GetMapping(value = "listByType")
   public TableDataInfo listByType(JcebQueryVo query) {
     startPage();
+
     JcebTypeEnum jcebTypeEnum = JcebTypeEnum.ofValue(query.getJcebType());
     List<JcebRecordVo> list = null;
     switch (jcebTypeEnum){

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

@@ -373,7 +373,7 @@
         and t.station_id=#{stationId}
       </if>
       <if test="deptId!=null and deptId!=''">
-        and t.dept_id=#{deptId}
+        and v.dept_id=#{deptId}
       </if>
       <if test="pillarCode!=null and pillarCode!=''">
         and t.pillar_code=#{pillarCode}