|
|
@ -35,7 +35,7 @@
|
|
|
|
<result column="phase" jdbcType="VARCHAR" property="phase"/>
|
|
|
|
<result column="phase" jdbcType="VARCHAR" property="phase"/>
|
|
|
|
<result column="equipment_type" jdbcType="VARCHAR" property="equipmentType"/>
|
|
|
|
<result column="equipment_type" jdbcType="VARCHAR" property="equipmentType"/>
|
|
|
|
<result column="last_heartbeat" jdbcType="BIGINT" property="lastHeartbeat"/>
|
|
|
|
<result column="last_heartbeat" jdbcType="BIGINT" property="lastHeartbeat"/>
|
|
|
|
<result column="termcount" jdbcType="INTEGER" property="termcount" />
|
|
|
|
<result column="termcount" jdbcType="INTEGER" property="termcount"/>
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
<sql id="Example_Where_Clause">
|
|
|
|
<sql id="Example_Where_Clause">
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
@ -99,11 +99,13 @@
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
|
|
|
|
|
|
|
id, dy_id, dy_name, dy_create_time, dy_update_time, line_id, line_name, line_bs_manufacturer,
|
|
|
|
|
|
|
|
tower_id, tower_name, address, `order`, cmdid, org_id, equip_name, display_name, model,
|
|
|
|
id, dy_id, dy_name, dy_create_time, dy_update_time, line_id, line_name, line_bs_manufacturer,
|
|
|
|
essential_info_version, has_pan, bs_manufacturer, bs_production_date, bs_identifier,
|
|
|
|
tower_id, tower_name, address, `order`, cmdid, org_id, equip_name, display_name, model,
|
|
|
|
latitude, longitude, status, protocol, sim, working_date, net_type, dev_type, phase,
|
|
|
|
essential_info_version, has_pan, bs_manufacturer, bs_production_date, bs_identifier,
|
|
|
|
equipment_type, last_heartbeat
|
|
|
|
latitude, longitude, status, protocol, sim, working_date, net_type, dev_type, phase,
|
|
|
|
|
|
|
|
equipment_type, last_heartbeat
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<select id="selectByExample" parameterType="com.shxy.xymanager_common.entity.View_Dy_Line_Tower_TerminalsExample"
|
|
|
|
<select id="selectByExample" parameterType="com.shxy.xymanager_common.entity.View_Dy_Line_Tower_TerminalsExample"
|
|
|
@ -129,30 +131,32 @@
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
<insert id="insert" parameterType="com.shxy.xymanager_common.entity.View_Dy_Line_Tower_Terminals">
|
|
|
|
<insert id="insert" parameterType="com.shxy.xymanager_common.entity.View_Dy_Line_Tower_Terminals">
|
|
|
|
|
|
|
|
|
|
|
|
insert into v_dy_line_tower_terminals (id, dy_id, dy_name,
|
|
|
|
|
|
|
|
dy_create_time, dy_update_time, line_id,
|
|
|
|
insert into v_dy_line_tower_terminals (id, dy_id, dy_name,
|
|
|
|
line_name, line_bs_manufacturer, tower_id,
|
|
|
|
dy_create_time, dy_update_time, line_id,
|
|
|
|
tower_name, address, `order`,
|
|
|
|
line_name, line_bs_manufacturer, tower_id,
|
|
|
|
cmdid, org_id, equip_name,
|
|
|
|
tower_name, address, `order`,
|
|
|
|
display_name, model, essential_info_version,
|
|
|
|
cmdid, org_id, equip_name,
|
|
|
|
has_pan, bs_manufacturer, bs_production_date,
|
|
|
|
display_name, model, essential_info_version,
|
|
|
|
bs_identifier, latitude, longitude,
|
|
|
|
has_pan, bs_manufacturer, bs_production_date,
|
|
|
|
status, protocol, sim,
|
|
|
|
bs_identifier, latitude, longitude,
|
|
|
|
working_date, net_type, dev_type,
|
|
|
|
status, protocol, sim,
|
|
|
|
phase, equipment_type, last_heartbeat
|
|
|
|
working_date, net_type, dev_type,
|
|
|
|
)
|
|
|
|
phase, equipment_type, last_heartbeat
|
|
|
|
values (#{id,jdbcType=INTEGER}, #{dyId,jdbcType=INTEGER}, #{dyName,jdbcType=VARCHAR},
|
|
|
|
)
|
|
|
|
#{dyCreateTime,jdbcType=TIMESTAMP}, #{dyUpdateTime,jdbcType=TIMESTAMP}, #{lineId,jdbcType=INTEGER},
|
|
|
|
values (#{id,jdbcType=INTEGER}, #{dyId,jdbcType=INTEGER}, #{dyName,jdbcType=VARCHAR},
|
|
|
|
#{lineName,jdbcType=VARCHAR}, #{lineBsManufacturer,jdbcType=VARCHAR}, #{towerId,jdbcType=INTEGER},
|
|
|
|
#{dyCreateTime,jdbcType=TIMESTAMP}, #{dyUpdateTime,jdbcType=TIMESTAMP}, #{lineId,jdbcType=INTEGER},
|
|
|
|
#{towerName,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{order,jdbcType=INTEGER},
|
|
|
|
#{lineName,jdbcType=VARCHAR}, #{lineBsManufacturer,jdbcType=VARCHAR}, #{towerId,jdbcType=INTEGER},
|
|
|
|
#{cmdid,jdbcType=VARCHAR}, #{orgId,jdbcType=SMALLINT}, #{equipName,jdbcType=VARCHAR},
|
|
|
|
#{towerName,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{order,jdbcType=INTEGER},
|
|
|
|
#{displayName,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, #{essentialInfoVersion,jdbcType=VARCHAR},
|
|
|
|
#{cmdid,jdbcType=VARCHAR}, #{orgId,jdbcType=SMALLINT}, #{equipName,jdbcType=VARCHAR},
|
|
|
|
#{hasPan,jdbcType=TINYINT}, #{bsManufacturer,jdbcType=VARCHAR}, #{bsProductionDate,jdbcType=DATE},
|
|
|
|
#{displayName,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, #{essentialInfoVersion,jdbcType=VARCHAR},
|
|
|
|
#{bsIdentifier,jdbcType=VARCHAR}, #{latitude,jdbcType=DOUBLE}, #{longitude,jdbcType=DOUBLE},
|
|
|
|
#{hasPan,jdbcType=TINYINT}, #{bsManufacturer,jdbcType=VARCHAR}, #{bsProductionDate,jdbcType=DATE},
|
|
|
|
#{status,jdbcType=INTEGER}, #{protocol,jdbcType=INTEGER}, #{sim,jdbcType=VARCHAR},
|
|
|
|
#{bsIdentifier,jdbcType=VARCHAR}, #{latitude,jdbcType=DOUBLE}, #{longitude,jdbcType=DOUBLE},
|
|
|
|
#{workingDate,jdbcType=DATE}, #{netType,jdbcType=TINYINT}, #{devType,jdbcType=VARCHAR},
|
|
|
|
#{status,jdbcType=INTEGER}, #{protocol,jdbcType=INTEGER}, #{sim,jdbcType=VARCHAR},
|
|
|
|
#{phase,jdbcType=VARCHAR}, #{equipmentType,jdbcType=VARCHAR}, #{lastHeartbeat,jdbcType=BIGINT}
|
|
|
|
#{workingDate,jdbcType=DATE}, #{netType,jdbcType=TINYINT}, #{devType,jdbcType=VARCHAR},
|
|
|
|
)
|
|
|
|
#{phase,jdbcType=VARCHAR}, #{equipmentType,jdbcType=VARCHAR}, #{lastHeartbeat,jdbcType=BIGINT}
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<insert id="insertSelective" parameterType="com.shxy.xymanager_common.entity.View_Dy_Line_Tower_Terminals">
|
|
|
|
<insert id="insertSelective" parameterType="com.shxy.xymanager_common.entity.View_Dy_Line_Tower_Terminals">
|
|
|
|