冀北电能质量问题流程修改

This commit is contained in:
hzj
2024-10-30 19:52:15 +08:00
parent b659dd055f
commit d3f412e2cb
21 changed files with 190 additions and 32 deletions

View File

@@ -74,7 +74,10 @@
supervision_temp_line_run_test.test_run_time,
supervision_temp_line_run_test.create_by,
supervision_warning_leaflet.problem_type problemType,
supervision_temp_line_run_test_warning.reason problemReason
supervision_temp_line_run_test_warning.reason problemReason,
supervision_temp_line_run_test_warning.deal_state dealState,
supervision_warning_leaflet.take_step takeStep,
supervision_warning_leaflet.report_path reportPath
FROM supervision_temp_line_debug
inner JOIN supervision_temp_line_report
ON supervision_temp_line_report.id = supervision_temp_line_debug.id

View File

@@ -4,7 +4,11 @@
<select id="getPage" resultType="com.njcn.supervision.pojo.vo.problem.SupervisionUserComplaintVO">
select
*
from supervision_user_complaint supervision_user_complaint WHERE ${ew.sqlSegment}
supervision_user_complaint.*,
supervision_warning_leaflet.take_step takeStep,
supervision_warning_leaflet.report_path reportPath
from supervision_user_complaint supervision_user_complaint
left join supervision_warning_leaflet
on supervision_warning_leaflet.problem_id = supervision_user_complaint.id WHERE ${ew.sqlSegment}
</select>
</mapper>

View File

@@ -10,10 +10,14 @@
supervision_survey_plan.plan_start_time planStartTime,
supervision_survey_plan.supv_type supvType,
supervision_survey_plan.supv_object_name supvObjectName,
supervision_survey_plan.plan_end_time planEndTime
supervision_survey_plan.plan_end_time planEndTime,
supervision_warning_leaflet.take_step takeStep,
supervision_warning_leaflet.report_path reportPath
FROM supervision_survey_test supervision_survey_test
left join supervision_survey_plan supervision_survey_plan
on supervision_survey_test.plan_id = supervision_survey_plan.id
left join supervision_warning_leaflet
on supervision_warning_leaflet.problem_id = supervision_survey_test.id
WHERE ${ew.sqlSegment}
</select>