select case_id, case_type_id, title, show_img, prospectus, publisher, publication_time, content, create_time, create_by, update_time, update_by, del_flag, delete_time, delete_by from tb_case insert into tb_case case_type_id, title, show_img, prospectus, publisher, publication_time, content, create_time, create_by, update_time, update_by, del_flag, delete_time, delete_by, #{caseTypeId}, #{title}, #{showImg}, #{prospectus}, #{publisher}, #{publicationTime}, #{content}, #{createTime}, #{createBy}, #{updateTime}, #{updateBy}, #{delFlag}, #{deleteTime}, #{deleteBy}, update tb_case case_type_id = #{caseTypeId}, title = #{title}, show_img = #{showImg}, prospectus = #{prospectus}, publisher = #{publisher}, publication_time = #{publicationTime}, content = #{content}, create_time = #{createTime}, create_by = #{createBy}, update_time = #{updateTime}, update_by = #{updateBy}, del_flag = #{delFlag}, delete_time = #{deleteTime}, delete_by = #{deleteBy}, where case_id = #{caseId} update tb_case set deL_flag = 1, delete_time = now() where case_id = #{caseId} update tb_case set deL_flag = 1, delete_time = now() where case_id in #{caseId}