select id,
type,
name,
title,
image,
url,
content,
weigh,
FROM_UNIXTIME(createtime) as createtime,
FROM_UNIXTIME(updatetime) as updatetime,
status
from zdy_cms_block
insert into zdy_cms_block
type,name,title,image,url,content,weigh,createtime,updatetime,status,#{type},#{name},#{title},#{image},#{url},#{content},#{weigh},UNIX_TIMESTAMP(#{createtime}),UNIX_TIMESTAMP(#{updatetime}),#{status},
update zdy_cms_block
type = #{type},name = #{name},title = #{title},image = #{image},url = #{url},content = #{content},weigh = #{weigh},updatetime = UNIX_TIMESTAMP(#{updatetime}),status = #{status},
where id = #{id}
delete
from zdy_cms_block
where id = #{id}
delete from zdy_cms_block where id in
#{id}