Commit f316ff4c by fz

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

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