@@ -87,5 +87,8 @@ public class EquipBoilerSchedulingRespVO {
private String planOutCheckDate;
@Schema(description = "排期耐压检验时间")
private String planPressureCheckDate;
-private String type;
+ private String type;
+
+ @Schema(description = "相关部门")
+ private String relatedDepartment;
}
@@ -12,7 +12,7 @@
<select id="selectPlanPage">
select rownum,a.* from (
select eb.EQUIP_DISTRICT,eb.EQUIP_STREET,eb.UNIT_CODE,eb.UNIT_NAME,eb.UNIT_ADDRESS,eb.EQUIP_CODE,eb.USE_REGISTER_NO,eb.BOILER_MODEL,eb.FACTORY_CODE
- ,eb.id,eb.type
+ ,eb.id,eb.type,eb.RELATED_DEPARTMENT
,LISTAGG(CASE WHEN eb.NEXT_IN_CHECK_DATE IS NOT NULL AND eb.HAS_INTERNAL = 0
<if test="nextDate != null and nextDate.size()>= 2">
AND eb.NEXT_IN_CHECK_DATE BETWEEN #{nextDate[0]} AND #{nextDate[1]}