|
|
|
@ -15,10 +15,13 @@
|
|
|
|
|
<result column="has_pan" jdbcType="TINYINT" property="hasPan"/>
|
|
|
|
|
<result column="bs_manufacturer" jdbcType="VARCHAR" property="bsManufacturer"/>
|
|
|
|
|
<result column="bs_production_date" jdbcType="DATE" property="bsProductionDate"/>
|
|
|
|
|
<result column="working_date" jdbcType="DATE" property="working_date"/>
|
|
|
|
|
<result column="bs_identifier" jdbcType="VARCHAR" property="bsIdentifier"/>
|
|
|
|
|
<result column="sim" jdbcType="VARCHAR" property="sim"/>
|
|
|
|
|
<result column="latitude" jdbcType="DOUBLE" property="latitude"/>
|
|
|
|
|
<result column="longitude" jdbcType="DOUBLE" property="longitude"/>
|
|
|
|
|
<result column="status" jdbcType="INTEGER" property="status"/>
|
|
|
|
|
<result column="net_type" jdbcType="INTEGER" property="netType"/>
|
|
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime"/>
|
|
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime"/>
|
|
|
|
|
</resultMap>
|
|
|
|
@ -33,7 +36,7 @@
|
|
|
|
|
<result column="display_name" jdbcType="VARCHAR" property="displayName"/>
|
|
|
|
|
<result column="model" jdbcType="VARCHAR" property="model"/>
|
|
|
|
|
<result column="essential_info_version" jdbcType="VARCHAR" property="essentialInfoVersion"/>
|
|
|
|
|
<result column="has_pan" jdbcType="TINYINT" property="hasPan"/>
|
|
|
|
|
<result column="has_pan" jdbcType="INTEGER" property="hasPan"/>
|
|
|
|
|
<result column="bs_manufacturer" jdbcType="VARCHAR" property="bsManufacturer"/>
|
|
|
|
|
<result column="bs_production_date" jdbcType="DATE" property="bsProductionDate"/>
|
|
|
|
|
<result column="bs_identifier" jdbcType="VARCHAR" property="bsIdentifier"/>
|
|
|
|
@ -46,6 +49,9 @@
|
|
|
|
|
<result column="battery_capacity" jdbcType="REAL" property="batteryCapacity"/>
|
|
|
|
|
<result column="battery_voltage" jdbcType="REAL" property="batteryVoltage"/>
|
|
|
|
|
<result column="last_heartbeat" jdbcType="BIGINT" property="lastHeartbeat"/>
|
|
|
|
|
<result column="sim" jdbcType="VARCHAR" property="sim"/>
|
|
|
|
|
<result column="working_date" jdbcType="DATE" property="workingDate"/>
|
|
|
|
|
<result column="net_type" jdbcType="INTEGER" property="netType"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<resultMap id="ChannelAndTerm" type="com.shxy.xymanager_common.dto.ChannelAndTermDto">
|
|
|
|
@ -86,7 +92,7 @@
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
id, line_id,tower_id,cmdid, org_id, equip_name, display_name, model, essential_info_version, has_pan,
|
|
|
|
|
bs_manufacturer, bs_production_date, bs_identifier, latitude, longitude, create_time,
|
|
|
|
|
update_time
|
|
|
|
|
update_time,sim,working_date,net_type
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectAll" resultMap="BaseResultMap">
|
|
|
|
@ -149,6 +155,9 @@
|
|
|
|
|
d.longitude as longitude,
|
|
|
|
|
d.status as status,
|
|
|
|
|
d.protocol as protocol,
|
|
|
|
|
d.sim as sim,
|
|
|
|
|
d.working_date as working_date,
|
|
|
|
|
d.net_type as net_type,
|
|
|
|
|
e.last_heartbeat as last_heartbeat,
|
|
|
|
|
e.signal_strength_4g as signal_strength_4g,
|
|
|
|
|
e.boot_time as boot_time,
|
|
|
|
|