Commit ddfa8bf0 authored by xinglei's avatar xinglei

修改坐标拾取巡检点模糊匹配orgCode

parent 213220a6
...@@ -520,19 +520,14 @@ ...@@ -520,19 +520,14 @@
</select> </select>
<!-- 巡检点按楼层 查询 --> <!-- 巡检点按楼层 查询 -->
<select id="getpointlist" resultType="map"> <select id="getpointlist" resultType="map">
select * from p_point where p_point.floor=#{floor} select * from p_point where p_point.floor=#{floor}
and p_point.org_code=#{code} and p_point.is_delete=0 and p_point.org_code like concat(#{code},'%') and p_point.is_delete=0
</select> </select>
<!-- 修改巡检点 -->
<!-- 修改巡检点 --> <select id="updatepoint">
<select id="updatepoint">
UPDATE p_point set p_point.coordinates =#{coordinates} UPDATE p_point set p_point.coordinates =#{coordinates}
where p_point.id=#{id} where p_point.id=#{id}
</select> </select>
......
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