浏览代码

管道排期带出设备类型

xuzhancheng 1 月之前
父节点
当前提交
7da0960ebf

+ 3 - 0
tz-module-pressure2/tz-module-pressure2-biz/src/main/java/cn/start/tz/module/pressure2/controller/admin/equippipescheduling/vo/EquipPipePlanSchedulingPageVO.java

@@ -84,4 +84,7 @@ public class EquipPipePlanSchedulingPageVO {
 
     @ExcelIgnore
     private List<EquipPipePlanSchedulingVO> pipes = new ArrayList<>();
+
+    @Schema(description = "管道类别")
+    private String pipeCategory;
 }

+ 1 - 1
tz-module-pressure2/tz-module-pressure2-biz/src/main/resources/mapper/equippipescheduling/EquipPipeSchedulingMapper.xml

@@ -326,7 +326,7 @@
         select rownum,a.* from (
         select eb.EQUIP_DISTRICT,eb.EQUIP_STREET,eb.UNIT_CODE,eb.UNIT_NAME
         ,eb.PIPE_ADDRESS,eb.CONTACT,eb.CONTACT_PHONE,eb.UNIT_ID,eb.id
-        ,eb.PROJECT_NO,eb.PROJECT_NAME,eb.HAS_LEGAL_SCHEDULING,eb.HAS_YEAR_SCHEDULING
+        ,eb.PROJECT_NO,eb.PROJECT_NAME,eb.HAS_LEGAL_SCHEDULING,eb.HAS_YEAR_SCHEDULING,eb.PIPE_CATEGORY
         ,MIN(CASE WHEN eb.NEXT_LEGAL_CHECK_DATE IS NOT NULL
         <if test="nextDate != null and nextDate.size()>= 2">
             AND eb.NEXT_LEGAL_CHECK_DATE BETWEEN #{nextDate[0]} AND #{nextDate[1]}