sm.id,
sm.client_type,
sm.parent_id,
sm.name,
sm.url,
sm.perms,
sm.type,
sm.icon,
sm.sort,
sm.level,
sm.custom,
sm.links,
sm.is_main,
sm.using_roles,
sm.remark,
sm.status,
sm.create_by,
sm.create_time,
sm.update_by,
sm.update_time,
sm.del_flag
insert into kws_menu
id,
client_type,
parent_id,
name,
url,
links,
perms,
type,
icon,
sort,
level,
custom,
is_main,
is_display,
using_roles,
remark,
status,
create_by,
create_time,
update_by,
update_time,
del_flag,
#{id,jdbcType=BIGINT},
#{clientType,jdbcType=INTEGER},
#{parentId,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR},
#{url,jdbcType=VARCHAR},
#{links,jdbcType=VARCHAR},
#{perms,jdbcType=VARCHAR},
#{type,jdbcType=INTEGER},
#{icon,jdbcType=VARCHAR},
#{sort,jdbcType=INTEGER},
#{level,jdbcType=INTEGER},
#{custom,jdbcType=INTEGER},
#{isDisplay,jdbcType=INTEGER},
#{isMain,jdbcType=INTEGER},
#{usingRoles,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=INTEGER},
update kws_menu
client_type = #{clientType,jdbcType=INTEGER},
parent_id = #{parentId,jdbcType=BIGINT},
name = #{name,jdbcType=VARCHAR},
url = #{url,jdbcType=VARCHAR},
perms = #{perms,jdbcType=VARCHAR},
type = #{type,jdbcType=INTEGER},
icon = #{icon,jdbcType=VARCHAR},
sort = #{sort,jdbcType=INTEGER},
level = #{level,jdbcType=INTEGER},
custom = #{custom,jdbcType=INTEGER},
is_display = #{isDisplay,jdbcType=INTEGER},
is_main = #{isMain,jdbcType=INTEGER},
using_roles = #{usingRoles,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}