and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, title, remark, charge_person, contact_phone, files, del_state, parent_id, create_time, qr_code, min_category, modify_time, modify_by, create_by delete from min_work_unit where id = #{id,jdbcType=VARCHAR} delete from min_work_unit insert into min_work_unit (id, title, remark, charge_person, contact_phone, files, del_state, parent_id, create_time, qr_code, min_category, modify_time, modify_by, create_by) values (#{id,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{chargePerson,jdbcType=VARCHAR}, #{contactPhone,jdbcType=VARCHAR}, #{files,jdbcType=VARCHAR}, #{delState,jdbcType=INTEGER}, #{parentId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{qrCode,jdbcType=VARCHAR}, #{minCategory,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyBy,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}) insert into min_work_unit id, title, remark, charge_person, contact_phone, files, del_state, parent_id, create_time, qr_code, min_category, modify_time, modify_by, create_by, #{id,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{chargePerson,jdbcType=VARCHAR}, #{contactPhone,jdbcType=VARCHAR}, #{files,jdbcType=VARCHAR}, #{delState,jdbcType=INTEGER}, #{parentId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{qrCode,jdbcType=VARCHAR}, #{minCategory,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyBy,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, update min_work_unit id = #{record.id,jdbcType=VARCHAR}, title = #{record.title,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, charge_person = #{record.chargePerson,jdbcType=VARCHAR}, contact_phone = #{record.contactPhone,jdbcType=VARCHAR}, files = #{record.files,jdbcType=VARCHAR}, del_state = #{record.delState,jdbcType=INTEGER}, parent_id = #{record.parentId,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, qr_code = #{record.qrCode,jdbcType=VARCHAR}, min_category = #{record.minCategory,jdbcType=VARCHAR}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, modify_by = #{record.modifyBy,jdbcType=VARCHAR}, create_by = #{record.createBy,jdbcType=VARCHAR}, update min_work_unit set id = #{record.id,jdbcType=VARCHAR}, title = #{record.title,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, charge_person = #{record.chargePerson,jdbcType=VARCHAR}, contact_phone = #{record.contactPhone,jdbcType=VARCHAR}, files = #{record.files,jdbcType=VARCHAR}, del_state = #{record.delState,jdbcType=INTEGER}, parent_id = #{record.parentId,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, qr_code = #{record.qrCode,jdbcType=VARCHAR}, min_category = #{record.minCategory,jdbcType=VARCHAR}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, modify_by = #{record.modifyBy,jdbcType=VARCHAR}, create_by = #{record.createBy,jdbcType=VARCHAR} update min_work_unit title = #{title,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, charge_person = #{chargePerson,jdbcType=VARCHAR}, contact_phone = #{contactPhone,jdbcType=VARCHAR}, files = #{files,jdbcType=VARCHAR}, del_state = #{delState,jdbcType=INTEGER}, parent_id = #{parentId,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, qr_code = #{qrCode,jdbcType=VARCHAR}, min_category = #{minCategory,jdbcType=VARCHAR}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_by = #{modifyBy,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR} update min_work_unit set title = #{title,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, charge_person = #{chargePerson,jdbcType=VARCHAR}, contact_phone = #{contactPhone,jdbcType=VARCHAR}, files = #{files,jdbcType=VARCHAR}, del_state = #{delState,jdbcType=INTEGER}, parent_id = #{parentId,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, qr_code = #{qrCode,jdbcType=VARCHAR}, min_category = #{minCategory,jdbcType=VARCHAR}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_by = #{modifyBy,jdbcType=VARCHAR}, create_by = #{createBy,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR} UPDATE min_work_unit SET del_state = 2 WHERE id = #{id} UPDATE min_work_unit SET del_state = 2 where parent_id = #{companyId}