select id, name, image, area, address, longitude, latitude, brief_introduction, open_business, winding_up, sort, user_id, cretim, state, telephone, user_name, logo, off_shelf, hygiene_licence from night_market
insert into night_market
name,
image,
area,
address,
longitude,
latitude,
brief_introduction,
open_business,
winding_up,
sort,
user_id,
cretim,
state,
telephone,
user_name,
logo,
off_shelf,
hygiene_licence,
#{name},
#{image},
#{area},
#{address},
#{longitude},
#{latitude},
#{briefIntroduction},
#{openBusiness},
#{windingUp},
#{sort},
#{userId},
#{cretim},
#{state},
#{telephone},
#{userName},
#{logo},
#{offShelf},
#{hygieneLicence},
update night_market
name = #{name},
image = #{image},
area = #{area},
address = #{address},
longitude = #{longitude},
latitude = #{latitude},
brief_introduction = #{briefIntroduction},
open_business = #{openBusiness},
winding_up = #{windingUp},
sort = #{sort},
user_id = #{userId},
cretim = #{cretim},
state = #{state},
telephone = #{telephone},
user_name = #{userName},
logo = #{logo},
off_shelf = #{offShelf},
hygiene_licence = #{hygieneLicence},
where id = #{id}
delete from night_market where id = #{id}
delete from night_market where id in
#{id}