| | |
| | | |
| | | <select id="selectEquipmentPage" resultMap="equipmentResultMap"> |
| | | select id,deviceName,deviceNumber,deviceType,ownership,ownerId,devicestate,stime,ST_ASTEXT (coordinate ) AS |
| | | coordinate,dtype, |
| | | coordinate,dtype,heartbeat,expireTime,pay, |
| | | parent_id, |
| | | FORMAT( jd, 6 ) AS jd, |
| | | FORMAT( wd, 6 ) AS wd, |
| | |
| | | <if test="dtype!=null"> |
| | | and dtype=#{dtype} |
| | | </if> |
| | | and parent_id!=0 |
| | | </select> |
| | | |
| | | <!--新增--> |
| | |
| | | SELECT |
| | | dept.id,dept.deviceName,dept.deviceNumber,dept.deviceType,dept.ownership, |
| | | dept.ownerId,dept.devicestate,dept.stime, |
| | | ST_ASTEXT(dept.coordinate) as coordinate,dept.dtype, |
| | | ST_ASTEXT(dept.coordinate) as coordinate,dept.dtype,dept.expireTime,dept.heartbeat, |
| | | dept.parent_id,dept.jd,dept.wd,dept.street as streeName,u.yname,d.addvnm,dept.addvcd, |
| | | ( |
| | | SELECT |