增加设备点位返回

This commit is contained in:
zy 2025-11-14 11:36:50 +08:00
parent 13edaf1c24
commit 5c2e156834
2 changed files with 40 additions and 35 deletions

View File

@ -4,33 +4,34 @@
<resultMap id="baseResultMap" type="org.jeecg.common.entity.SurvDeviceDeploy"> <resultMap id="baseResultMap" type="org.jeecg.common.entity.SurvDeviceDeploy">
<result property="id" column="ID" jdbcType="VARCHAR"/> <result property="id" column="ID" jdbcType="VARCHAR"/>
<result property="tenantId" column="TENANT_ID" jdbcType="VARCHAR"/>
<result property="reVision" column="RE_VISION" jdbcType="INTEGER"/>
<result property="createdBy" column="CREATED_BY" jdbcType="VARCHAR"/>
<result property="createTime" column="CREATE_TIME" />
<result property="updatedBy" column="UPDATED_BY" jdbcType="VARCHAR"/>
<result property="isDel" column="IS_DEL" jdbcType="INTEGER"/>
<result property="updatedTime" column="UPDATED_TIME" />
<result property="deployCode" column="DEPLOY_CODE" jdbcType="VARCHAR"/> <result property="deployCode" column="DEPLOY_CODE" jdbcType="VARCHAR"/>
<result property="stationCode" column="STATION_CODE" jdbcType="VARCHAR"/> <result property="stationCode" column="STATION_CODE" jdbcType="VARCHAR"/>
<result property="runStatus" column="RUN_STATUS" jdbcType="VARCHAR"/> <result property="runStatus" column="RUN_STATUS" jdbcType="VARCHAR"/>
<result property="powerStatus" column="POWER_STATUS" jdbcType="VARCHAR"/> <result property="powerStatus" column="POWER_STATUS" jdbcType="VARCHAR"/>
<result property="lastsyncTime" column="LASTSYNC_TIME" /> <result property="lastsyncTime" column="LASTSYNC_TIME" jdbcType="TIMESTAMP"/>
<result property="deviceCode" column="DEVICE_CODE" jdbcType="VARCHAR"/> <result property="deviceCode" column="DEVICE_CODE" jdbcType="VARCHAR"/>
<result property="deployDes" column="DEPLOY_DES" jdbcType="VARCHAR"/> <result property="deployDes" column="DEPLOY_DES" jdbcType="VARCHAR"/>
<result column="DEPLOY_PIC" property="deployPic"/> <result property="deployPic" column="DEPLOY_PIC" jdbcType="VARCHAR"/>
<result property="deviceUrl" column="DEVICE_URL" jdbcType="VARCHAR"/> <result property="deviceUrl" column="DEVICE_URL" jdbcType="VARCHAR"/>
<result property="sortNo" column="SORT_NO" jdbcType="INTEGER"/> <result property="sortNo" column="SORT_NO" jdbcType="INTEGER"/>
<result property="tenantId" column="TENANT_ID" jdbcType="VARCHAR"/>
<result property="reVision" column="RE_VISION" jdbcType="INTEGER"/>
<result property="createdBy" column="CREATED_BY" jdbcType="VARCHAR"/>
<result property="createTime" column="CREATE_TIME" jdbcType="TIMESTAMP"/>
<result property="updatedBy" column="UPDATED_BY" jdbcType="VARCHAR"/>
<result property="isDel" column="IS_DEL" jdbcType="INTEGER"/>
<result property="updatedTime" column="UPDATED_TIME" jdbcType="TIMESTAMP"/>
<result property="deployType" column="DEPLOY_TYPE" jdbcType="VARCHAR"/> <result property="deployType" column="DEPLOY_TYPE" jdbcType="VARCHAR"/>
<result property="deviceLatitude" column="DEVICE_LATITUDE" jdbcType="VARCHAR"/>
<result property="deviceLongitude" column="DEVICE_LONGITUDE" jdbcType="VARCHAR"/>
<result property="groupId" column="GROUP_ID" jdbcType="VARCHAR"/> <result property="groupId" column="GROUP_ID" jdbcType="VARCHAR"/>
<result property="izBaojing" column="IZ_BAOJING" jdbcType="VARCHAR"/> <result property="izBaojing" column="IZ_BAOJING" jdbcType="VARCHAR"/>
<result property="ipAddr" column="IP_ADDR" jdbcType="VARCHAR"/> <result property="ipAddr" column="IP_ADDR" jdbcType="VARCHAR"/>
<result property="port" column="PORT" jdbcType="VARCHAR"/> <result property="port" column="PORT" jdbcType="VARCHAR"/>
<result column="DEVICE_LONGITUDE" property="deviceLongitude" jdbcType="VARCHAR"/> <result property="sendInfo" column="SEND_INFO" jdbcType="VARCHAR"/>
<result column="DEVICE_LATITUDE" property="deviceLatitude" jdbcType="VARCHAR"/> <result property="mapIcon" column="MAP_ICON" jdbcType="VARCHAR"/>
<result property="deviceIotUrl" column="DEVICE_IOT_URL" jdbcType="VARCHAR"/> <result property="deviceIotUrl" column="DEVICE_IOT_URL" jdbcType="VARCHAR"/>
<result property="deviceReverseIotUrl" column="DEVICE_REVERSE_IOT_URL" jdbcType="VARCHAR"/> <result property="deviceReverseIotUrl" column="DEVICE_REVERSE_IOT_URL" jdbcType="VARCHAR"/>
<result property="mapIcon" column="MAP_ICON" jdbcType="VARCHAR"/>
</resultMap> </resultMap>
<resultMap id="extMap" type="org.jeecg.common.entity.SurvDeviceDeploy" extends="baseResultMap"> <resultMap id="extMap" type="org.jeecg.common.entity.SurvDeviceDeploy" extends="baseResultMap">

View File

@ -2,31 +2,35 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.system.applet.mapper.SurvDeviceDeployMapper"> <mapper namespace="org.jeecg.system.applet.mapper.SurvDeviceDeployMapper">
<resultMap id="baseResultMap" type="org.jeecg.common.entity.SurvDeviceDeploy"> <resultMap id="baseResultMap" type="org.jeecg.common.entity.SurvDeviceDeploy">
<id column="ID" property="id"/> <result property="id" column="ID" jdbcType="VARCHAR"/>
<result column="IS_DEL" property="isDel"/> <result property="deployCode" column="DEPLOY_CODE" jdbcType="VARCHAR"/>
<result column="SORT_NO" property="sortNo"/> <result property="stationCode" column="STATION_CODE" jdbcType="VARCHAR"/>
<result column="TENANT_ID" property="tenantId"/> <result property="runStatus" column="RUN_STATUS" jdbcType="VARCHAR"/>
<result column="RE_VISION" property="reVision"/> <result property="powerStatus" column="POWER_STATUS" jdbcType="VARCHAR"/>
<result column="CREATED_BY" property="createdBy"/> <result property="lastsyncTime" column="LASTSYNC_TIME" jdbcType="TIMESTAMP"/>
<result column="UPDATED_BY" property="updatedBy"/> <result property="deviceCode" column="DEVICE_CODE" jdbcType="VARCHAR"/>
<result column="RUN_STATUS" property="runStatus"/> <result property="deployDes" column="DEPLOY_DES" jdbcType="VARCHAR"/>
<result column="DEPLOY_DES" property="deployDes"/> <result property="deployPic" column="DEPLOY_PIC" jdbcType="VARCHAR"/>
<result column="DEPLOY_PIC" property="deployPic"/> <result property="deviceUrl" column="DEVICE_URL" jdbcType="VARCHAR"/>
<result column="DEVICE_URL" property="deviceUrl"/> <result property="sortNo" column="SORT_NO" jdbcType="INTEGER"/>
<result column="CREATE_TIME" property="createTime"/> <result property="tenantId" column="TENANT_ID" jdbcType="VARCHAR"/>
<result column="DEPLOY_CODE" property="deployCode"/> <result property="reVision" column="RE_VISION" jdbcType="INTEGER"/>
<result column="DEVICE_CODE" property="deviceCode"/> <result property="createdBy" column="CREATED_BY" jdbcType="VARCHAR"/>
<result column="DEPLOY_TYPE" property="deployType"/> <result property="createTime" column="CREATE_TIME" jdbcType="TIMESTAMP"/>
<result column="UPDATED_TIME" property="updatedTime"/> <result property="updatedBy" column="UPDATED_BY" jdbcType="VARCHAR"/>
<result column="STATION_CODE" property="stationCode"/> <result property="isDel" column="IS_DEL" jdbcType="INTEGER"/>
<result column="POWER_STATUS" property="powerStatus"/> <result property="updatedTime" column="UPDATED_TIME" jdbcType="TIMESTAMP"/>
<result column="LASTSYNC_TIME" property="lastsyncTime"/> <result property="deployType" column="DEPLOY_TYPE" jdbcType="VARCHAR"/>
<result column="DEVICE_LONGITUDE" property="deviceLongitude"/> <result property="deviceLatitude" column="DEVICE_LATITUDE" jdbcType="VARCHAR"/>
<result column="DEVICE_LATITUDE" property="deviceLatitude"/> <result property="deviceLongitude" column="DEVICE_LONGITUDE" jdbcType="VARCHAR"/>
<result column="GROUP_ID" property="groupId"/> <result property="groupId" column="GROUP_ID" jdbcType="VARCHAR"/>
<result property="izBaojing" column="IZ_BAOJING" jdbcType="VARCHAR"/>
<result property="ipAddr" column="IP_ADDR" jdbcType="VARCHAR"/>
<result property="port" column="PORT" jdbcType="VARCHAR"/>
<result property="sendInfo" column="SEND_INFO" jdbcType="VARCHAR"/>
<result property="mapIcon" column="MAP_ICON" jdbcType="VARCHAR"/>
<result property="deviceIotUrl" column="DEVICE_IOT_URL" jdbcType="VARCHAR"/> <result property="deviceIotUrl" column="DEVICE_IOT_URL" jdbcType="VARCHAR"/>
<result property="deviceReverseIotUrl" column="DEVICE_REVERSE_IOT_URL" jdbcType="VARCHAR"/> <result property="deviceReverseIotUrl" column="DEVICE_REVERSE_IOT_URL" jdbcType="VARCHAR"/>
<result property="mapIcon" column="MAP_ICON" jdbcType="VARCHAR"/>
</resultMap> </resultMap>
<resultMap id="adResultMap" type="org.jeecg.common.entity.SurvDeviceDeploy" extends="baseResultMap"> <resultMap id="adResultMap" type="org.jeecg.common.entity.SurvDeviceDeploy" extends="baseResultMap">
<association property="stationName" javaType="java.lang.String" select="getStationName" column="STATION_CODE"></association> <association property="stationName" javaType="java.lang.String" select="getStationName" column="STATION_CODE"></association>