Commit 416b87c1 authored by caotao's avatar caotao

预警列表权限问题修复处理

parent 2e56e0a9
......@@ -242,6 +242,9 @@
</foreach>
</if>
</where>
<if test="dto.orgCode != null and dto.orgCode != ''">
org_code like concat(#{dto.orgCode},'%')
</if>
<if test="dto.orderColumns != null and dto.orderColumns != ''">
order by ${dto.orderColumns}
</if>
......@@ -269,6 +272,9 @@
</foreach>
</if>
</where>
<if test="dto.orgCode != null and dto.orgCode != ''">
org_code like concat(#{dto.orgCode},'%')
</if>
</select>
<select id="getInfoByTs" resultType="com.yeejoin.amos.boot.module.jxiop.biz.tdengine.FanWarningRecord">
......
......@@ -261,6 +261,9 @@
<if test="dto.endDate!= null and dto.endDate!= '' "> and ts &lt;= #{dto.endDate} </if>
<if test="dto.startDate!= null and dto.startDate!= ''"> and ts &gt;= #{dto.startDate} </if>
</where>
<if test="dto.orgCode != null and dto.orgCode != ''">
org_code like concat(#{dto.orgCode},'%')
</if>
<if test="dto.orderColumns != null and dto.orderColumns != ''">
order by ${dto.orderColumns}
</if>
......@@ -283,6 +286,9 @@
<if test="dto.endDate!= null and dto.endDate!= '' "> and ts &lt;= #{dto.endDate} </if>
<if test="dto.startDate!= null and dto.startDate!= ''"> and ts &gt;= #{dto.startDate} </if>
</where>
<if test="dto.orgCode != null and dto.orgCode != ''">
org_code like concat(#{dto.orgCode},'%')
</if>
</select>
<select id="getInfoByTs" resultType="com.yeejoin.amos.boot.module.jxiop.biz.tdengine.PvWarningRecord">
......
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