id, create_by, create_time, del_flag, update_by, update_time, is_parent, parent_id,
sort_order, status, title, is_canteen, delivery_enabled, parent_agent_id, parent_agent_name,
commission_ratio, center_lng, center_lat, radius_meters, geo_polygon, area_kind, express_errand_enabled,
errand_planet_visible
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, delivery_enabled, parent_agent_id, parent_agent_name,
commission_ratio, center_lng, center_lat, radius_meters, geo_polygon, area_kind, express_errand_enabled,
errand_planet_visible)
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}, #{deliveryEnabled,jdbcType=INTEGER},
#{parentAgentId,jdbcType=VARCHAR}, #{parentAgentName,jdbcType=VARCHAR}, #{commissionRatio,jdbcType=INTEGER},
#{centerLng,jdbcType=DECIMAL}, #{centerLat,jdbcType=DECIMAL}, #{radiusMeters,jdbcType=INTEGER},
#{geoPolygon,jdbcType=LONGVARCHAR}, #{areaKind,jdbcType=INTEGER}, #{expressErrandEnabled,jdbcType=INTEGER},
#{errandPlanetVisible,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,
delivery_enabled,
parent_agent_id,
parent_agent_name,
commission_ratio,
center_lng,
center_lat,
radius_meters,
geo_polygon,
area_kind,
express_errand_enabled,
errand_planet_visible,
#{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},
#{deliveryEnabled,jdbcType=INTEGER},
#{parentAgentId,jdbcType=VARCHAR},
#{parentAgentName,jdbcType=VARCHAR},
#{commissionRatio,jdbcType=INTEGER},
#{centerLng,jdbcType=DECIMAL},
#{centerLat,jdbcType=DECIMAL},
#{radiusMeters,jdbcType=INTEGER},
#{geoPolygon,jdbcType=LONGVARCHAR},
#{areaKind,jdbcType=INTEGER},
#{expressErrandEnabled,jdbcType=INTEGER},
#{errandPlanetVisible,jdbcType=INTEGER},
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},
delivery_enabled = #{deliveryEnabled,jdbcType=INTEGER},
parent_agent_id = #{parentAgentId,jdbcType=VARCHAR},
parent_agent_name = #{parentAgentName,jdbcType=VARCHAR},
commission_ratio = #{commissionRatio,jdbcType=INTEGER},
center_lng = #{centerLng,jdbcType=DECIMAL},
center_lat = #{centerLat,jdbcType=DECIMAL},
radius_meters = #{radiusMeters,jdbcType=INTEGER},
geo_polygon = #{geoPolygon,jdbcType=LONGVARCHAR},
area_kind = #{areaKind,jdbcType=INTEGER},
express_errand_enabled = #{expressErrandEnabled,jdbcType=INTEGER},
errand_planet_visible = #{errandPlanetVisible,jdbcType=INTEGER},
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},
delivery_enabled = #{deliveryEnabled,jdbcType=INTEGER},
parent_agent_id = #{parentAgentId,jdbcType=VARCHAR},
parent_agent_name = #{parentAgentName,jdbcType=VARCHAR},
commission_ratio = #{commissionRatio,jdbcType=INTEGER},
center_lng = #{centerLng,jdbcType=DECIMAL},
center_lat = #{centerLat,jdbcType=DECIMAL},
radius_meters = #{radiusMeters,jdbcType=INTEGER},
geo_polygon = #{geoPolygon,jdbcType=LONGVARCHAR},
area_kind = #{areaKind,jdbcType=INTEGER},
express_errand_enabled = #{expressErrandEnabled,jdbcType=INTEGER},
errand_planet_visible = #{errandPlanetVisible,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}