Commit 43d043ff authored by litengwei's avatar litengwei

离线巡检查询接口修改

parent 009cd87d
......@@ -934,7 +934,8 @@
LEFT JOIN s_department d on d.id = p.charge_dept_id -->
WHERE p.is_delete = 0
AND p.offline = 1
<if test="orgCode != null and orgCode != ''">AND p.biz_org_code = #{orgCode}</if>
AND ( select COUNT(p_point_inputitem.id) FROM p_point_inputitem where p_point_inputitem.point_id =p.id) >0
<if test="orgCode != null and orgCode != ''">AND p.biz_org_code LIKE concat("%", #{orgCode}, "%")</if>
<if test="startTime !=null and startTime != ''">AND p.last_update_time <![CDATA[>= ]]> STR_TO_DATE(#{startTime}, '%Y-%m-%d')</if>
</select>
<select id="getPoints" resultType="Map">
......
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