|
...
|
...
|
@@ -54,7 +54,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="client_id != null and client_id != ''">client_id,</if>
|
|
|
|
<if test="completion_auth != null">completion_auth,</if>
|
|
|
|
<if test="create_by != null">create_by,</if>
|
|
|
|
<if test="create_time != null">create_time,</if>
|
|
|
|
<if test="del_flag != null">del_flag,</if>
|
|
|
|
<if test="firmware_version != null">firmware_version,</if>
|
|
|
|
<if test="img_url != null">img_url,</if>
|
|
...
|
...
|
@@ -74,14 +73,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="update_time != null">update_time,</if>
|
|
|
|
<if test="user_id != null">user_id,</if>
|
|
|
|
<if test="payload_type != null">payload_type,</if>
|
|
|
|
|
|
|
|
create_time,
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="active_time != null">#{active_time},</if>
|
|
|
|
<if test="client_id != null and client_id != ''">#{client_id},</if>
|
|
|
|
<if test="completion_auth != null">#{completion_auth},</if>
|
|
|
|
<if test="create_by != null">#{create_by},</if>
|
|
|
|
<if test="create_time != null">#{create_time},</if>
|
|
|
|
<if test="del_flag != null">#{del_flag},</if>
|
|
|
|
<if test="firmware_version != null">#{firmware_version},</if>
|
|
|
|
<if test="img_url != null">#{img_url},</if>
|
|
...
|
...
|
@@ -101,6 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="update_time != null">#{update_time},</if>
|
|
|
|
<if test="user_id != null">#{user_id},</if>
|
|
|
|
<if test="payload_type != null">#{payload_type},</if>
|
|
|
|
UNIX_TIMESTAMP(NOW()),
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
|
...
|
...
|
|