| | |
| | | |
| | | <select id="selectEquipmentPage" resultMap="equipmentResultMap"> |
| | | select id,deviceName,deviceNumber,deviceType,ownership,ownerId,devicestate,stime,dtype,heartbeat,expireTime,pay, |
| | | parent_id,district,province,city, |
| | | parent_id,district,province,city,serialNumber,channelNumber, |
| | | jd , |
| | | wd , |
| | | street, |
| | |
| | | parameterType="org.springblade.jfpt.equipment.entity.Equipment"> |
| | | SELECT |
| | | dept.id,dept.deviceName,dept.deviceNumber,dept.deviceType,dept.ownership, |
| | | dept.ownerId,dept.devicestate,dept.stime, |
| | | dept.ownerId,dept.devicestate,dept.stime,dept.district,dept.province,dept.city, |
| | | ST_ASTEXT(dept.coordinate) as coordinate,dept.dtype,dept.expireTime,dept.heartbeat, |
| | | dept.parent_id,dept.jd,dept.wd,dept.street,u.yname,d.addvnm,dept.addvcd, |
| | | dept.parent_id,dept.jd,dept.wd,dept.street,u.yname,d.addvnm,dept.addvcd,dept.serialNumber,dept.channelNumber, |
| | | ( |
| | | SELECT |
| | | CASE WHEN count(1) > 0 THEN 1 ELSE 0 END |