id, account, shop_code, sub_title, merchant_id, shop_name, chain_name, back_img,
front_img, contact_name, phone, logo, is_deposit, is_supply, cover_img, share_img,
detail, lat, lng, mch_id, register_type, is_wx_ma_independent, address, city, type,
industry, industry_name, business_time, post_time, post_amount_line, on_sale, settle_type,
settle_time, enter_at, expire_at, status, average, order_wait_pay_minute, support_device_number,
distribute_level, created_at, updated_at, proxy_id,is_custom,is_return,is_member_in,is_member_return,
is_table_fee,table_fee,eat_model,small_qrcode,payment_qrcode
view
delete from tb_shop_info
where id = #{id,jdbcType=INTEGER}
insert into tb_shop_info (id, account, shop_code,
sub_title, merchant_id, shop_name,
chain_name, back_img, front_img,
contact_name, phone, logo,
is_deposit, is_supply, cover_img,
share_img, detail, lat,
lng, mch_id, register_type,
is_wx_ma_independent, address, city,
type, industry, industry_name,
business_time, post_time, post_amount_line,
on_sale, settle_type, settle_time,
enter_at, expire_at, status,
average, order_wait_pay_minute, support_device_number,
distribute_level, created_at, updated_at,
proxy_id, view)
values (#{id,jdbcType=INTEGER}, #{account,jdbcType=VARCHAR}, #{shopCode,jdbcType=VARCHAR},
#{subTitle,jdbcType=VARCHAR}, #{merchantId,jdbcType=VARCHAR}, #{shopName,jdbcType=VARCHAR},
#{chainName,jdbcType=VARCHAR}, #{backImg,jdbcType=VARCHAR}, #{frontImg,jdbcType=VARCHAR},
#{contactName,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{logo,jdbcType=VARCHAR},
#{isDeposit,jdbcType=TINYINT}, #{isSupply,jdbcType=TINYINT}, #{coverImg,jdbcType=VARCHAR},
#{shareImg,jdbcType=VARCHAR}, #{detail,jdbcType=VARCHAR}, #{lat,jdbcType=VARCHAR},
#{lng,jdbcType=VARCHAR}, #{mchId,jdbcType=VARCHAR}, #{registerType,jdbcType=VARCHAR},
#{isWxMaIndependent,jdbcType=TINYINT}, #{address,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR}, #{industry,jdbcType=VARCHAR}, #{industryName,jdbcType=VARCHAR},
#{businessTime,jdbcType=VARCHAR}, #{postTime,jdbcType=VARCHAR}, #{postAmountLine,jdbcType=DECIMAL},
#{onSale,jdbcType=TINYINT}, #{settleType,jdbcType=TINYINT}, #{settleTime,jdbcType=VARCHAR},
#{enterAt,jdbcType=INTEGER}, #{expireAt,jdbcType=BIGINT}, #{status,jdbcType=TINYINT},
#{average,jdbcType=REAL}, #{orderWaitPayMinute,jdbcType=INTEGER}, #{supportDeviceNumber,jdbcType=INTEGER},
#{distributeLevel,jdbcType=TINYINT}, #{createdAt,jdbcType=BIGINT}, #{updatedAt,jdbcType=BIGINT},
#{proxyId,jdbcType=VARCHAR}, #{view,jdbcType=LONGVARCHAR})
insert into tb_shop_info
id,
account,
shop_code,
sub_title,
merchant_id,
shop_name,
chain_name,
back_img,
front_img,
contact_name,
phone,
logo,
is_deposit,
is_supply,
cover_img,
share_img,
detail,
lat,
lng,
mch_id,
register_type,
is_wx_ma_independent,
address,
city,
type,
industry,
industry_name,
business_time,
post_time,
post_amount_line,
on_sale,
settle_type,
settle_time,
enter_at,
expire_at,
status,
average,
order_wait_pay_minute,
support_device_number,
distribute_level,
created_at,
updated_at,
proxy_id,
view,
#{id,jdbcType=INTEGER},
#{account,jdbcType=VARCHAR},
#{shopCode,jdbcType=VARCHAR},
#{subTitle,jdbcType=VARCHAR},
#{merchantId,jdbcType=VARCHAR},
#{shopName,jdbcType=VARCHAR},
#{chainName,jdbcType=VARCHAR},
#{backImg,jdbcType=VARCHAR},
#{frontImg,jdbcType=VARCHAR},
#{contactName,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{logo,jdbcType=VARCHAR},
#{isDeposit,jdbcType=TINYINT},
#{isSupply,jdbcType=TINYINT},
#{coverImg,jdbcType=VARCHAR},
#{shareImg,jdbcType=VARCHAR},
#{detail,jdbcType=VARCHAR},
#{lat,jdbcType=VARCHAR},
#{lng,jdbcType=VARCHAR},
#{mchId,jdbcType=VARCHAR},
#{registerType,jdbcType=VARCHAR},
#{isWxMaIndependent,jdbcType=TINYINT},
#{address,jdbcType=VARCHAR},
#{city,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},
#{industry,jdbcType=VARCHAR},
#{industryName,jdbcType=VARCHAR},
#{businessTime,jdbcType=VARCHAR},
#{postTime,jdbcType=VARCHAR},
#{postAmountLine,jdbcType=DECIMAL},
#{onSale,jdbcType=TINYINT},
#{settleType,jdbcType=TINYINT},
#{settleTime,jdbcType=VARCHAR},
#{enterAt,jdbcType=INTEGER},
#{expireAt,jdbcType=BIGINT},
#{status,jdbcType=TINYINT},
#{average,jdbcType=REAL},
#{orderWaitPayMinute,jdbcType=INTEGER},
#{supportDeviceNumber,jdbcType=INTEGER},
#{distributeLevel,jdbcType=TINYINT},
#{createdAt,jdbcType=BIGINT},
#{updatedAt,jdbcType=BIGINT},
#{proxyId,jdbcType=VARCHAR},
#{view,jdbcType=LONGVARCHAR},
update tb_shop_info
account = #{account,jdbcType=VARCHAR},
shop_code = #{shopCode,jdbcType=VARCHAR},
sub_title = #{subTitle,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
shop_name = #{shopName,jdbcType=VARCHAR},
chain_name = #{chainName,jdbcType=VARCHAR},
back_img = #{backImg,jdbcType=VARCHAR},
front_img = #{frontImg,jdbcType=VARCHAR},
contact_name = #{contactName,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
logo = #{logo,jdbcType=VARCHAR},
is_deposit = #{isDeposit,jdbcType=TINYINT},
is_supply = #{isSupply,jdbcType=TINYINT},
cover_img = #{coverImg,jdbcType=VARCHAR},
share_img = #{shareImg,jdbcType=VARCHAR},
detail = #{detail,jdbcType=VARCHAR},
lat = #{lat,jdbcType=VARCHAR},
lng = #{lng,jdbcType=VARCHAR},
mch_id = #{mchId,jdbcType=VARCHAR},
register_type = #{registerType,jdbcType=VARCHAR},
is_wx_ma_independent = #{isWxMaIndependent,jdbcType=TINYINT},
address = #{address,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
industry = #{industry,jdbcType=VARCHAR},
industry_name = #{industryName,jdbcType=VARCHAR},
business_time = #{businessTime,jdbcType=VARCHAR},
post_time = #{postTime,jdbcType=VARCHAR},
post_amount_line = #{postAmountLine,jdbcType=DECIMAL},
on_sale = #{onSale,jdbcType=TINYINT},
settle_type = #{settleType,jdbcType=TINYINT},
settle_time = #{settleTime,jdbcType=VARCHAR},
enter_at = #{enterAt,jdbcType=INTEGER},
expire_at = #{expireAt,jdbcType=BIGINT},
status = #{status,jdbcType=TINYINT},
average = #{average,jdbcType=REAL},
order_wait_pay_minute = #{orderWaitPayMinute,jdbcType=INTEGER},
support_device_number = #{supportDeviceNumber,jdbcType=INTEGER},
distribute_level = #{distributeLevel,jdbcType=TINYINT},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
proxy_id = #{proxyId,jdbcType=VARCHAR},
view = #{view,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update tb_shop_info
set account = #{account,jdbcType=VARCHAR},
shop_code = #{shopCode,jdbcType=VARCHAR},
sub_title = #{subTitle,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
shop_name = #{shopName,jdbcType=VARCHAR},
chain_name = #{chainName,jdbcType=VARCHAR},
back_img = #{backImg,jdbcType=VARCHAR},
front_img = #{frontImg,jdbcType=VARCHAR},
contact_name = #{contactName,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
logo = #{logo,jdbcType=VARCHAR},
is_deposit = #{isDeposit,jdbcType=TINYINT},
is_supply = #{isSupply,jdbcType=TINYINT},
cover_img = #{coverImg,jdbcType=VARCHAR},
share_img = #{shareImg,jdbcType=VARCHAR},
detail = #{detail,jdbcType=VARCHAR},
lat = #{lat,jdbcType=VARCHAR},
lng = #{lng,jdbcType=VARCHAR},
mch_id = #{mchId,jdbcType=VARCHAR},
register_type = #{registerType,jdbcType=VARCHAR},
is_wx_ma_independent = #{isWxMaIndependent,jdbcType=TINYINT},
address = #{address,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
industry = #{industry,jdbcType=VARCHAR},
industry_name = #{industryName,jdbcType=VARCHAR},
business_time = #{businessTime,jdbcType=VARCHAR},
post_time = #{postTime,jdbcType=VARCHAR},
post_amount_line = #{postAmountLine,jdbcType=DECIMAL},
on_sale = #{onSale,jdbcType=TINYINT},
settle_type = #{settleType,jdbcType=TINYINT},
settle_time = #{settleTime,jdbcType=VARCHAR},
enter_at = #{enterAt,jdbcType=INTEGER},
expire_at = #{expireAt,jdbcType=BIGINT},
status = #{status,jdbcType=TINYINT},
average = #{average,jdbcType=REAL},
order_wait_pay_minute = #{orderWaitPayMinute,jdbcType=INTEGER},
support_device_number = #{supportDeviceNumber,jdbcType=INTEGER},
distribute_level = #{distributeLevel,jdbcType=TINYINT},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
proxy_id = #{proxyId,jdbcType=VARCHAR},
view = #{view,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update tb_shop_info
set account = #{account,jdbcType=VARCHAR},
shop_code = #{shopCode,jdbcType=VARCHAR},
sub_title = #{subTitle,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
shop_name = #{shopName,jdbcType=VARCHAR},
chain_name = #{chainName,jdbcType=VARCHAR},
back_img = #{backImg,jdbcType=VARCHAR},
front_img = #{frontImg,jdbcType=VARCHAR},
contact_name = #{contactName,jdbcType=VARCHAR},
phone = #{phone,jdbcType=VARCHAR},
logo = #{logo,jdbcType=VARCHAR},
is_deposit = #{isDeposit,jdbcType=TINYINT},
is_supply = #{isSupply,jdbcType=TINYINT},
cover_img = #{coverImg,jdbcType=VARCHAR},
share_img = #{shareImg,jdbcType=VARCHAR},
detail = #{detail,jdbcType=VARCHAR},
lat = #{lat,jdbcType=VARCHAR},
lng = #{lng,jdbcType=VARCHAR},
mch_id = #{mchId,jdbcType=VARCHAR},
register_type = #{registerType,jdbcType=VARCHAR},
is_wx_ma_independent = #{isWxMaIndependent,jdbcType=TINYINT},
address = #{address,jdbcType=VARCHAR},
city = #{city,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
industry = #{industry,jdbcType=VARCHAR},
industry_name = #{industryName,jdbcType=VARCHAR},
business_time = #{businessTime,jdbcType=VARCHAR},
post_time = #{postTime,jdbcType=VARCHAR},
post_amount_line = #{postAmountLine,jdbcType=DECIMAL},
on_sale = #{onSale,jdbcType=TINYINT},
settle_type = #{settleType,jdbcType=TINYINT},
settle_time = #{settleTime,jdbcType=VARCHAR},
enter_at = #{enterAt,jdbcType=INTEGER},
expire_at = #{expireAt,jdbcType=BIGINT},
status = #{status,jdbcType=TINYINT},
average = #{average,jdbcType=REAL},
order_wait_pay_minute = #{orderWaitPayMinute,jdbcType=INTEGER},
support_device_number = #{supportDeviceNumber,jdbcType=INTEGER},
distribute_level = #{distributeLevel,jdbcType=TINYINT},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
proxy_id = #{proxyId,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}