|
|
@ -7,6 +7,7 @@ |
|
|
<result property="guid" column="guid"/> |
|
|
<result property="guid" column="guid"/> |
|
|
<result property="name" column="name"/> |
|
|
<result property="name" column="name"/> |
|
|
<result property="iconPath" column="icon_path"/> |
|
|
<result property="iconPath" column="icon_path"/> |
|
|
|
|
|
<result property="sceneId" column="scene_id"/> |
|
|
<result property="hide" column="hide"/> |
|
|
<result property="hide" column="hide"/> |
|
|
<result property="creator" column="creator"/> |
|
|
<result property="creator" column="creator"/> |
|
|
<result property="createTime" column="create_time"/> |
|
|
<result property="createTime" column="create_time"/> |
|
|
@ -18,6 +19,7 @@ |
|
|
select guid, |
|
|
select guid, |
|
|
name, |
|
|
name, |
|
|
icon_path, |
|
|
icon_path, |
|
|
|
|
|
scene_id, |
|
|
hide, |
|
|
hide, |
|
|
creator, |
|
|
creator, |
|
|
create_time, |
|
|
create_time, |
|
|
@ -46,6 +48,7 @@ |
|
|
<if test="guid != null ">guid,</if> |
|
|
<if test="guid != null ">guid,</if> |
|
|
<if test="name != null and name != ''">`name`,</if> |
|
|
<if test="name != null and name != ''">`name`,</if> |
|
|
<if test="iconPath != null and iconPath != ''">icon_path,</if> |
|
|
<if test="iconPath != null and iconPath != ''">icon_path,</if> |
|
|
|
|
|
<if test="sceneId != null and sceneId != ''">scene_id,</if> |
|
|
<if test="hide != null and hide != ''">hide,</if> |
|
|
<if test="hide != null and hide != ''">hide,</if> |
|
|
<if test="creator != null and creator != ''">creator,</if> |
|
|
<if test="creator != null and creator != ''">creator,</if> |
|
|
<if test="createTime != null ">create_time,</if> |
|
|
<if test="createTime != null ">create_time,</if> |
|
|
@ -56,6 +59,7 @@ |
|
|
<if test="guid != null ">#{guid},</if> |
|
|
<if test="guid != null ">#{guid},</if> |
|
|
<if test="name != null and name != ''">#{name},</if> |
|
|
<if test="name != null and name != ''">#{name},</if> |
|
|
<if test="iconPath != null and iconPath != ''">#{iconPath},</if> |
|
|
<if test="iconPath != null and iconPath != ''">#{iconPath},</if> |
|
|
|
|
|
<if test="sceneId != null and sceneId != ''">#{sceneId},</if> |
|
|
<if test="hide != null and hide != ''">#{hide},</if> |
|
|
<if test="hide != null and hide != ''">#{hide},</if> |
|
|
<if test="creator != null and creator != ''">#{creator},</if> |
|
|
<if test="creator != null and creator != ''">#{creator},</if> |
|
|
<if test="createTime != null ">#{createTime},</if> |
|
|
<if test="createTime != null ">#{createTime},</if> |
|
|
@ -69,6 +73,7 @@ |
|
|
<trim prefix="SET" suffixOverrides=","> |
|
|
<trim prefix="SET" suffixOverrides=","> |
|
|
<if test="name != null and name != ''">name = #{name},</if> |
|
|
<if test="name != null and name != ''">name = #{name},</if> |
|
|
<if test="iconPath != null and iconPath != ''">icon_path = #{iconPath},</if> |
|
|
<if test="iconPath != null and iconPath != ''">icon_path = #{iconPath},</if> |
|
|
|
|
|
<if test="sceneId != null and sceneId != ''">scene_id = #{sceneId},</if> |
|
|
<if test="hide != null and hide != ''">hide = #{hide},</if> |
|
|
<if test="hide != null and hide != ''">hide = #{hide},</if> |
|
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> |
|
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> |
|
|
<if test="updateTime != null ">update_time = #{updateTime},</if> |
|
|
<if test="updateTime != null ">update_time = #{updateTime},</if> |
|
|
|