| | |
| | | <result column="ownerId" property="ownerId"/> |
| | | <result column="devicestate" property="devicestate"/> |
| | | <result column="stime" property="stime"/> |
| | | <result column="coordinate" property="coordinate"/> |
| | | <result column="parent_id" property="parentId"/> |
| | | <result column="jd" property="jd"/> |
| | | <result column="wd" property="wd"/> |
| | |
| | | |
| | | |
| | | <select id="selectEquipmentPage" resultMap="equipmentResultMap"> |
| | | select id,deviceName,deviceNumber,deviceType,ownership,ownerId,devicestate,stime,ST_ASTEXT (coordinate ) AS |
| | | coordinate,dtype,heartbeat,expireTime,pay, |
| | | select id,deviceName,deviceNumber,deviceType,ownership,ownerId,devicestate,stime,dtype,heartbeat,expireTime,pay, |
| | | parent_id, |
| | | jd , |
| | | wd , |
| | |
| | | <if test="equipment.dtype!=null"> |
| | | and dtype=#{equipment.dtype} |
| | | </if> |
| | | |
| | | <if test="childList!=null and childList.size>0"> |
| | | and deviceNumber in |
| | | <foreach collection="childList" index="index" item="item" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | |
| | | </select> |
| | | |
| | | <!--新增--> |