select zpm.id, scenic_id, zpm.name, zpm.type, category, `table`, field, field_type, dict_type, zpm.create_time,
zpm.update_time, image_url, sort, eatery_type, statistic_type
from zdy_print_module zpm
insert into zdy_print_module
scenic_id,
name,
type,
category,
table,
field,
field_type,
dict_type,
create_time,
update_time,
image_url,
sort,
eatery_type,
statistic_type,
#{scenicId},
#{name},
#{type},
#{category},
#{table},
#{field},
#{fieldType},
#{dictType},
#{createTime},
#{updateTime},
#{imageUrl},
#{sort},
#{eateryType},
#{statisticType},
update zdy_print_module
`name` =
#{name},
`type` =
#{type},
category =
#{category},
`table` =
#{table},
`field` =
#{field},
create_time =
#{createTime},
update_time =
#{updateTime},
image_url =
#{imageUrl},
field_type =
#{fieldType},
dict_type =
#{dictType},
sort =
#{sort},
eatery_type =
#{eateryType},
statistic_type =
#{statisticType},
where id = #{id}
delete
from zdy_print_module
where id = #{id}
delete from zdy_print_module where id in
#{id}