|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
<result column="cmdid" jdbcType="VARCHAR" property="cmdid" />
|
|
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
|
|
<result column="online_status" jdbcType="TINYINT" property="onlineStatus" />
|
|
|
|
|
<result column="dev_type" jdbcType="TINYINT" property="devType" />
|
|
|
|
|
<result column="dev_type" jdbcType="VARCHAR" property="devType" />
|
|
|
|
|
<result column="org_id" jdbcType="SMALLINT" property="orgId" />
|
|
|
|
|
<result column="sn" jdbcType="VARCHAR" property="sn" />
|
|
|
|
|
<result column="iccid" jdbcType="VARCHAR" property="iccid" />
|
|
|
|
@ -179,7 +179,7 @@
|
|
|
|
|
isfavor)
|
|
|
|
|
values (#{id,jdbcType=INTEGER}, #{lineId,jdbcType=INTEGER}, #{towerId,jdbcType=INTEGER},
|
|
|
|
|
#{cmdid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{onlineStatus,jdbcType=TINYINT},
|
|
|
|
|
#{devType,jdbcType=TINYINT}, #{orgId,jdbcType=SMALLINT}, #{sn,jdbcType=VARCHAR},
|
|
|
|
|
#{devType,jdbcType=VARCHAR}, #{orgId,jdbcType=SMALLINT}, #{sn,jdbcType=VARCHAR},
|
|
|
|
|
#{iccid,jdbcType=VARCHAR}, #{protocol,jdbcType=INTEGER}, #{phase,jdbcType=VARCHAR},
|
|
|
|
|
#{equipmentType,jdbcType=VARCHAR}, #{cellphone,jdbcType=VARCHAR}, #{equipName,jdbcType=VARCHAR},
|
|
|
|
|
#{displayName,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, #{essentialInfoVersion,jdbcType=VARCHAR},
|
|
|
|
@ -189,7 +189,7 @@
|
|
|
|
|
#{workingDate,jdbcType=DATE}, #{netType,jdbcType=TINYINT}, #{password,jdbcType=VARCHAR},
|
|
|
|
|
#{isfavor,jdbcType=INTEGER})
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="com.shxy.xymanager_common.entity.Terminals" useGeneratedKeys="true" keyProperty="id">
|
|
|
|
|
<insert id="insertSelective" keyProperty="id" parameterType="com.shxy.xymanager_common.entity.Terminals" useGeneratedKeys="true">
|
|
|
|
|
insert into terminals
|
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="id != null">
|
|
|
|
@ -410,7 +410,7 @@
|
|
|
|
|
online_status = #{record.onlineStatus,jdbcType=TINYINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.devType != null">
|
|
|
|
|
dev_type = #{record.devType,jdbcType=TINYINT},
|
|
|
|
|
dev_type = #{record.devType,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="record.orgId != null">
|
|
|
|
|
org_id = #{record.orgId,jdbcType=SMALLINT},
|
|
|
|
@ -497,7 +497,7 @@
|
|
|
|
|
cmdid = #{record.cmdid,jdbcType=VARCHAR},
|
|
|
|
|
status = #{record.status,jdbcType=INTEGER},
|
|
|
|
|
online_status = #{record.onlineStatus,jdbcType=TINYINT},
|
|
|
|
|
dev_type = #{record.devType,jdbcType=TINYINT},
|
|
|
|
|
dev_type = #{record.devType,jdbcType=VARCHAR},
|
|
|
|
|
org_id = #{record.orgId,jdbcType=SMALLINT},
|
|
|
|
|
sn = #{record.sn,jdbcType=VARCHAR},
|
|
|
|
|
iccid = #{record.iccid,jdbcType=VARCHAR},
|
|
|
|
@ -545,7 +545,7 @@
|
|
|
|
|
online_status = #{onlineStatus,jdbcType=TINYINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="devType != null">
|
|
|
|
|
dev_type = #{devType,jdbcType=TINYINT},
|
|
|
|
|
dev_type = #{devType,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="orgId != null">
|
|
|
|
|
org_id = #{orgId,jdbcType=SMALLINT},
|
|
|
|
@ -629,7 +629,7 @@
|
|
|
|
|
cmdid = #{cmdid,jdbcType=VARCHAR},
|
|
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
|
|
online_status = #{onlineStatus,jdbcType=TINYINT},
|
|
|
|
|
dev_type = #{devType,jdbcType=TINYINT},
|
|
|
|
|
dev_type = #{devType,jdbcType=VARCHAR},
|
|
|
|
|
org_id = #{orgId,jdbcType=SMALLINT},
|
|
|
|
|
sn = #{sn,jdbcType=VARCHAR},
|
|
|
|
|
iccid = #{iccid,jdbcType=VARCHAR},
|
|
|
|
|