Commit f316ff4c by fz

1.车钥匙,删除手机蓝牙,自动感应字段

1 parent 636bace5
......@@ -86,10 +86,6 @@ public class SmartVehicleBlueKey {
*/
private String peripheralUuid;
private Integer autoSenseStatus;
private String mobileBlueMac;
/**
* 分享状态 0:关闭 1:打开
* 默认打开
......
......@@ -16,8 +16,6 @@
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="mobile_code" jdbcType="VARCHAR" property="mobileCode" />
<result column="peripheral_uuid" jdbcType="VARCHAR" property="peripheralUuid" />
<result column="auto_sense_status" jdbcType="TINYINT" property="autoSenseStatus" />
<result column="mobile_blue_mac" jdbcType="VARCHAR" property="mobileBlueMac" />
<result column="share_status" jdbcType="TINYINT" property="shareStatus" />
</resultMap>
<sql id="Example_Where_Clause">
......@@ -83,7 +81,7 @@
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, user_id, sn, crep_code, secret_key, smart_lock_Mac, car_number, key_name, is_delete,
create_time, mobile_code, peripheral_uuid, auto_sense_status, mobile_blue_mac, share_status
create_time, mobile_code, peripheral_uuid, share_status
</sql>
<select id="selectByExample" parameterType="com.glsx.smart.dao.entity.SmartVehicleBlueKeyExample" resultMap="BaseResultMap">
<!--@mbg.generated-->
......@@ -124,13 +122,11 @@
insert into smart_vehicle_blue_key (user_id, sn, crep_code,
secret_key, smart_lock_Mac, car_number,
key_name, is_delete, create_time,
mobile_code, peripheral_uuid, auto_sense_status,
mobile_blue_mac, share_status)
mobile_code, peripheral_uuid, share_status)
values (#{userId,jdbcType=BIGINT}, #{sn,jdbcType=VARCHAR}, #{crepCode,jdbcType=VARCHAR},
#{secretKey,jdbcType=VARCHAR}, #{smartLockMac,jdbcType=VARCHAR}, #{carNumber,jdbcType=VARCHAR},
#{keyName,jdbcType=VARCHAR}, #{isDelete,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP},
#{mobileCode,jdbcType=VARCHAR}, #{peripheralUuid,jdbcType=VARCHAR}, #{autoSenseStatus,jdbcType=TINYINT},
#{mobileBlueMac,jdbcType=VARCHAR}, #{shareStatus,jdbcType=TINYINT})
#{mobileCode,jdbcType=VARCHAR}, #{peripheralUuid,jdbcType=VARCHAR}, #{shareStatus,jdbcType=TINYINT})
</insert>
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.glsx.smart.dao.entity.SmartVehicleBlueKey" useGeneratedKeys="true">
<!--@mbg.generated-->
......@@ -169,12 +165,6 @@
<if test="peripheralUuid != null">
peripheral_uuid,
</if>
<if test="autoSenseStatus != null">
auto_sense_status,
</if>
<if test="mobileBlueMac != null">
mobile_blue_mac,
</if>
<if test="shareStatus != null">
share_status,
</if>
......@@ -216,9 +206,6 @@
<if test="autoSenseStatus != null">
#{autoSenseStatus,jdbcType=TINYINT},
</if>
<if test="mobileBlueMac != null">
#{mobileBlueMac,jdbcType=VARCHAR},
</if>
<if test="shareStatus != null">
#{shareStatus,jdbcType=TINYINT},
</if>
......@@ -271,12 +258,6 @@
<if test="record.peripheralUuid != null">
peripheral_uuid = #{record.peripheralUuid,jdbcType=VARCHAR},
</if>
<if test="record.autoSenseStatus != null">
auto_sense_status = #{record.autoSenseStatus,jdbcType=TINYINT},
</if>
<if test="record.mobileBlueMac != null">
mobile_blue_mac = #{record.mobileBlueMac,jdbcType=VARCHAR},
</if>
<if test="record.shareStatus != null">
share_status = #{record.shareStatus,jdbcType=TINYINT},
</if>
......@@ -300,8 +281,6 @@
create_time = #{record.createTime,jdbcType=TIMESTAMP},
mobile_code = #{record.mobileCode,jdbcType=VARCHAR},
peripheral_uuid = #{record.peripheralUuid,jdbcType=VARCHAR},
auto_sense_status = #{record.autoSenseStatus,jdbcType=TINYINT},
mobile_blue_mac = #{record.mobileBlueMac,jdbcType=VARCHAR},
share_status = #{record.shareStatus,jdbcType=TINYINT}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
......@@ -344,12 +323,7 @@
<if test="peripheralUuid != null">
peripheral_uuid = #{peripheralUuid,jdbcType=VARCHAR},
</if>
<if test="autoSenseStatus != null">
auto_sense_status = #{autoSenseStatus,jdbcType=TINYINT},
</if>
<if test="mobileBlueMac != null">
mobile_blue_mac = #{mobileBlueMac,jdbcType=VARCHAR},
</if>
<if test="shareStatus != null">
share_status = #{shareStatus,jdbcType=TINYINT},
</if>
......@@ -370,8 +344,6 @@
create_time = #{createTime,jdbcType=TIMESTAMP},
mobile_code = #{mobileCode,jdbcType=VARCHAR},
peripheral_uuid = #{peripheralUuid,jdbcType=VARCHAR},
auto_sense_status = #{autoSenseStatus,jdbcType=TINYINT},
mobile_blue_mac = #{mobileBlueMac,jdbcType=VARCHAR},
share_status = #{shareStatus,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}
</update>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!