1.技术监督,终端入网监测,监测点台账录入,监测点联调增加模糊搜索功能

2.电能质量问题,用户投诉新增增加责任部门
3.预告单增加责任部门列
This commit is contained in:
wr
2024-06-14 17:55:43 +08:00
parent 4ce91364c1
commit 78f5227497
8 changed files with 131 additions and 9 deletions

View File

@@ -4,13 +4,57 @@
<select id="warningPageData" resultType="WarningLeafletVO">
SELECT supervision_warning_leaflet.*
SELECT
supervision_warning_leaflet.leaflet_name,
supervision_warning_leaflet.leaflet_no,
supervision_warning_leaflet.problem_type,
supervision_warning_leaflet.problem_id,
(case problem_type
when 1 then null
when 2 then null
when 3 then (select duty_Org_Id FROM supervision_user_complaint where id=problem_id)
when 4 then (select dept_id FROM supervision_survey_test where id=problem_id)
else null end ) as duty_Org_Id,
supervision_warning_leaflet.leaflet_type,
supervision_warning_leaflet.STATUS,
supervision_warning_leaflet.process_instance_id,
supervision_warning_leaflet.history_instance_id,
supervision_warning_leaflet.issue_detail,
supervision_warning_leaflet.take_step,
supervision_warning_leaflet.report_path,
supervision_warning_leaflet.state,
supervision_warning_leaflet.create_by,
supervision_warning_leaflet.create_time,
supervision_warning_leaflet.update_by,
supervision_warning_leaflet.update_time
FROM supervision_warning_leaflet supervision_warning_leaflet
WHERE ${ew.sqlSegment}
</select>
<select id="alarmPageData" resultType="WarningLeafletVO">
SELECT supervision_warning_leaflet.*
SELECT
supervision_warning_leaflet.leaflet_name,
supervision_warning_leaflet.leaflet_no,
supervision_warning_leaflet.problem_type,
supervision_warning_leaflet.problem_id,
(case problem_type
when 1 then null
when 2 then null
when 3 then (select duty_Org_Id FROM supervision_user_complaint where id=problem_id)
when 4 then (select dept_id FROM supervision_survey_test where id=problem_id)
else null end ) as duty_Org_Id,
supervision_warning_leaflet.leaflet_type,
supervision_warning_leaflet.STATUS,
supervision_warning_leaflet.process_instance_id,
supervision_warning_leaflet.history_instance_id,
supervision_warning_leaflet.issue_detail,
supervision_warning_leaflet.take_step,
supervision_warning_leaflet.report_path,
supervision_warning_leaflet.state,
supervision_warning_leaflet.create_by,
supervision_warning_leaflet.create_time,
supervision_warning_leaflet.update_by,
supervision_warning_leaflet.update_time
FROM supervision_warning_leaflet supervision_warning_leaflet
WHERE ${ew.sqlSegment}
</select>