| | |
| | | |
| | | <select id="selectLandPage" resultMap="landResultMap"> |
| | | SELECT l.land_name, |
| | | l.land_unit, |
| | | l.id, |
| | | l.land_area , |
| | | ST_ASTEXT(land_range) as land_range, |
| | |
| | | where id = #{land.id} |
| | | </update> |
| | | |
| | | <update id="updateLandAr"> |
| | | update sys_land set user_id = #{land.userId}, |
| | | land_area = #{land.landArea}, |
| | | <if test="land.landRange!=null and land.landRange!=''"> |
| | | land_range = ST_GeomFromText(${land.landRange}), |
| | | </if> |
| | | url = #{land.url}, |
| | | where id = #{land.id} |
| | | </update> |
| | | |
| | | <select id="selectLandList" resultType="java.util.HashMap"> |
| | | select id, land_name as landName |
| | | from sys_land |