select id, code, parent_id, type_id, pre_num, audit_num, status, create_by, create_time, update_by, update_time, remark, company_id from back_apply_details insert into back_apply_details code, parent_id, type_id, pre_num, audit_num, status, create_by, create_time, update_by, update_time, remark, company_id, #{code}, #{parentId}, #{typeId}, #{preNum}, #{auditNum}, #{status}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{companyId}, update back_apply_details code = #{code}, parent_id = #{parentId}, type_id = #{typeId}, pre_num = #{preNum}, audit_num = #{auditNum}, status = #{status}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, company_id = #{companyId}, where id = #{id} delete from back_apply_details where id = #{id} delete from back_apply_details where id in #{id}