insert into tb_platform_dict(name, type, cover_img, share_img, video, video_cover_img, rel_url, abs_url, created_at, updated_at, is_show_cash, is_show_mall, is_show_app, sort) values (#{name}, #{type}, #{coverImg}, #{shareImg}, #{video}, #{videoCoverImg}, #{relUrl}, #{absUrl}, #{createdAt}, #{updatedAt}, #{isShowCash}, #{isShowMall}, #{isShowApp}, #{sort}) insert into tb_platform_dict(name, type, cover_img, share_img, video, video_cover_img, rel_url, abs_url, created_at, updated_at, is_show_cash, is_show_mall, is_show_app, sort) values (#{entity.name}, #{entity.type}, #{entity.coverImg}, #{entity.shareImg}, #{entity.video}, #{entity.videoCoverImg}, #{entity.relUrl}, #{entity.absUrl}, #{entity.createdAt}, #{entity.updatedAt}, #{entity.isShowCash}, #{entity.isShowMall}, #{entity.isShowApp}, #{entity.sort}) insert into tb_platform_dict(name, type, cover_img, share_img, video, video_cover_img, rel_url, abs_url, created_at, updated_at, is_show_cash, is_show_mall, is_show_app, sort) values (#{entity.name}, #{entity.type}, #{entity.coverImg}, #{entity.shareImg}, #{entity.video}, #{entity.videoCoverImg}, #{entity.relUrl}, #{entity.absUrl}, #{entity.createdAt}, #{entity.updatedAt}, #{entity.isShowCash}, #{entity.isShowMall}, #{entity.isShowApp}, #{entity.sort}) on duplicate key update name = values(name), type = values(type), cover_img = values(cover_img), share_img = values(share_img), video = values(video), video_cover_img = values(video_cover_img), rel_url = values(rel_url), abs_url = values(abs_url), created_at = values(created_at), updated_at = values(updated_at), is_show_cash = values(is_show_cash), is_show_mall = values(is_show_mall), is_show_app = values(is_show_app), sort = values(sort) update tb_platform_dict name = #{name}, type = #{type}, cover_img = #{coverImg}, share_img = #{shareImg}, video = #{video}, video_cover_img = #{videoCoverImg}, rel_url = #{relUrl}, abs_url = #{absUrl}, created_at = #{createdAt}, updated_at = #{updatedAt}, is_show_cash = #{isShowCash}, is_show_mall = #{isShowMall}, is_show_app = #{isShowApp}, sort = #{sort}, where id = #{id} delete from tb_platform_dict where id = #{id}