|
@@ -18,7 +18,7 @@ order by d.summaryid
|
|
|
<!-- 联锁总表-分页列表查询(各种逻辑状态)-->
|
|
|
<select id="getPage" parameterType="org.jeecg.modules.summary.vo.InterlockSummaryVO" resultType="org.jeecg.modules.summary.vo.InterlockSummaryVO">
|
|
|
select d.id, d.summaryid, d.interlockname, d.interlock_condition, d.interlock_condition_tag, d.instrument_status, d.control_system_status,
|
|
|
- s.interlock_status, s.loop_health_level
|
|
|
+ s.interlock_status, s.loop_health_level, d.bypass
|
|
|
from interlock_detail d left join interlock_summary s on d.summaryid = s.id
|
|
|
<where>
|
|
|
<if test="interlockSummaryVO.interlockname != null and interlockSummaryVO.interlockname != ''"> and d.interlockname like concat('%', #{interlockSummaryVO.interlockname}, '%')</if>
|