| | |
| | | <result column="address" property="address"/> |
| | | <result column="type" property="type"/> |
| | | <result column="dj" property="dj"/> |
| | | <result column="jd" property="jd"/> |
| | | <result column="wd" property="wd"/> |
| | | <result column="information" property="information"/> |
| | | <result column="createtime" property="createtime"/> |
| | | <result column="is_delete" property="isDelete"/> |
| | |
| | | |
| | | |
| | | <select id="selectList" resultMap="suserResultMaps"> |
| | | select s.id,ynumber,ST_ASTEXT(s.coordinate) as coordinate,s.yname,s.phone,s.address,l.types as type,s.dj,s.information,s.createtime,d.addvnm as addvcd from sys_suser s left join sys_district d on d.addvcds=s.addvcd LEFT JOIN sys_lx l on l.tnumber=s.type where is_delete=0 |
| | | select s.id,ynumber,s.jd,s.wd,ST_ASTEXT(s.coordinate) as coordinate,s.yname,s.phone,s.address,l.types as type,s.dj,s.information,s.createtime,d.addvnm as addvcd from sys_suser s left join sys_district d on d.addvcds=s.addvcd LEFT JOIN sys_lx l on l.tnumber=s.type where is_delete=0 |
| | | <if test="type!=null and type!=''"> |
| | | and s.type =#{type} |
| | | </if> |