select id, company_id, app_id, type, sort_num, create_time, create_by, update_by, update_time, remark from company_miniapp insert into company_miniapp company_id, app_id, type, sort_num, create_time, create_by, update_by, update_time, remark, #{companyId}, #{appId}, #{type}, #{sortNum}, #{createTime}, #{createBy}, #{updateBy}, #{updateTime}, #{remark}, update company_miniapp company_id = #{companyId}, app_id = #{appId}, type = #{type}, sort_num = #{sortNum}, create_time = #{createTime}, create_by = #{createBy}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from company_miniapp where id = #{id} delete from company_miniapp where id in #{id}