Commit d4768959 authored by 鲁鸿波's avatar 鲁鸿波

PC端-危险作业管理-作业计划管理模-监督检查块app按检查时间倒序排序

parent 9913dfc5
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<select id="selectTHazardWorkPlanCheckList" resultMap="BaseResultMap"> <select id="selectTHazardWorkPlanCheckList" resultMap="BaseResultMap">
select hwpc.*,hwp.code code,hwp.work_type workType,hwp.work_level workLevel,hwp.stakeholder_work stakeholderWork select hwpc.*,hwp.code code,hwp.work_type workType,hwp.work_level workLevel,hwp.stakeholder_work stakeholderWork
from t_hazard_work_plan_check hwpc from t_hazard_work_plan_check hwpc
left join t_hazard_work_plan hwp on hwpc.plan_id = hwp.id left join t_hazard_work_plan hwp on hwpc.plan_id = hwp.id
where hwpc.status = '0' and hwpc.plan_id = #{param.planId} where hwpc.status = '0' and hwpc.plan_id = #{param.planId}
order by hwpc.create_date desc order by hwpc.create_date desc
</select> </select>
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
<select id="selectAppTHazardWorkPlanCheckList" resultMap="BaseResultMap"> <select id="selectAppTHazardWorkPlanCheckList" resultMap="BaseResultMap">
select hwpc.*,hwp.code code,hwp.work_type workType,hwp.work_level workLevel,hwp.stakeholder_work stakeholderWork select hwpc.*,hwp.code code,hwp.work_type workType,hwp.work_level workLevel,hwp.stakeholder_work stakeholderWork
from t_hazard_work_plan_check hwpc from t_hazard_work_plan_check hwpc
left join t_hazard_work_plan hwp on hwpc.plan_id = hwp.id left join t_hazard_work_plan hwp on hwpc.plan_id = hwp.id
where hwpc.status = '0' and hwpc.plan_id = #{param.planId} and hwpc.create_by=#{param.createBy} where hwpc.status = '0' and hwpc.plan_id = #{param.planId} and hwpc.create_by=#{param.createBy}
order by hwpc.create_date desc order by hwpc.check_time desc
</select> </select>
<select id="detail" resultMap="BaseResultMap"> <select id="detail" resultMap="BaseResultMap">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment