id, create_by, create_time, del_flag, update_by, update_time, is_parent, parent_id,
sort_order, status, title, isCanteen
delete from t_shop_area
where id = #{id,jdbcType=VARCHAR}
insert into t_shop_area (id, create_by, create_time,
del_flag, update_by, update_time,
is_parent, parent_id, sort_order,
status, title,is_canteen)
values (#{id,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=INTEGER}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
#{isParent,jdbcType=BIT}, #{parentId,jdbcType=VARCHAR}, #{sortOrder,jdbcType=DECIMAL},
#{status,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR},#{isCanteen,jdbcType=INTEGER})
insert into t_shop_area
id,
create_by,
create_time,
del_flag,
update_by,
update_time,
is_parent,
parent_id,
sort_order,
status,
title,
is_canteen,
#{id,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{delFlag,jdbcType=INTEGER},
#{updateBy,jdbcType=VARCHAR},
#{updateTime,jdbcType=TIMESTAMP},
#{isParent,jdbcType=BIT},
#{parentId,jdbcType=VARCHAR},
#{sortOrder,jdbcType=DECIMAL},
#{status,jdbcType=INTEGER},
#{title,jdbcType=VARCHAR},
#{isCanteen,jdbcType=VARCHAR},
update t_shop_area
create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=INTEGER},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
is_parent = #{isParent,jdbcType=BIT},
parent_id = #{parentId,jdbcType=VARCHAR},
sort_order = #{sortOrder,jdbcType=DECIMAL},
status = #{status,jdbcType=INTEGER},
title = #{title,jdbcType=VARCHAR},
is_canteen = #{isCanteen,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update t_shop_area
set create_by = #{createBy,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
del_flag = #{delFlag,jdbcType=INTEGER},
update_by = #{updateBy,jdbcType=VARCHAR},
update_time = #{updateTime,jdbcType=TIMESTAMP},
is_parent = #{isParent,jdbcType=BIT},
parent_id = #{parentId,jdbcType=VARCHAR},
sort_order = #{sortOrder,jdbcType=DECIMAL},
status = #{status,jdbcType=INTEGER},
title = #{title,jdbcType=VARCHAR},
is_canteen = #{isCanteen,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}