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, pro_id, apply_reasons, position, total_add_time, file_data_ids, status, created_by, created_at, updated_by, updated_at, remark delete from apply_add_work where id = #{id,jdbcType=VARCHAR} delete from apply_add_work insert into apply_add_work (id, pro_id, apply_reasons, position, total_add_time, file_data_ids, status, created_by, created_at, updated_by, updated_at, remark ) values (#{id,jdbcType=VARCHAR}, #{proId,jdbcType=VARCHAR}, #{applyReasons,jdbcType=VARCHAR}, #{position,jdbcType=INTEGER}, #{totalAddTime,jdbcType=VARCHAR}, #{fileDataIds,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createdBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR} ) insert into apply_add_work id, pro_id, apply_reasons, position, total_add_time, file_data_ids, status, created_by, created_at, updated_by, updated_at, remark, #{id,jdbcType=VARCHAR}, #{proId,jdbcType=VARCHAR}, #{applyReasons,jdbcType=VARCHAR}, #{position,jdbcType=INTEGER}, #{totalAddTime,jdbcType=VARCHAR}, #{fileDataIds,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createdBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, update apply_add_work id = #{record.id,jdbcType=VARCHAR}, pro_id = #{record.proId,jdbcType=VARCHAR}, apply_reasons = #{record.applyReasons,jdbcType=VARCHAR}, position = #{record.position,jdbcType=INTEGER}, total_add_time = #{record.totalAddTime,jdbcType=VARCHAR}, file_data_ids = #{record.fileDataIds,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, created_by = #{record.createdBy,jdbcType=VARCHAR}, created_at = #{record.createdAt,jdbcType=TIMESTAMP}, updated_by = #{record.updatedBy,jdbcType=VARCHAR}, updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, remark = #{record.remark,jdbcType=VARCHAR}, update apply_add_work set id = #{record.id,jdbcType=VARCHAR}, pro_id = #{record.proId,jdbcType=VARCHAR}, apply_reasons = #{record.applyReasons,jdbcType=VARCHAR}, position = #{record.position,jdbcType=INTEGER}, total_add_time = #{record.totalAddTime,jdbcType=VARCHAR}, file_data_ids = #{record.fileDataIds,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, created_by = #{record.createdBy,jdbcType=VARCHAR}, created_at = #{record.createdAt,jdbcType=TIMESTAMP}, updated_by = #{record.updatedBy,jdbcType=VARCHAR}, updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, remark = #{record.remark,jdbcType=VARCHAR} update apply_add_work pro_id = #{proId,jdbcType=VARCHAR}, apply_reasons = #{applyReasons,jdbcType=VARCHAR}, position = #{position,jdbcType=INTEGER}, total_add_time = #{totalAddTime,jdbcType=VARCHAR}, file_data_ids = #{fileDataIds,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, created_by = #{createdBy,jdbcType=VARCHAR}, created_at = #{createdAt,jdbcType=TIMESTAMP}, updated_by = #{updatedBy,jdbcType=VARCHAR}, updated_at = #{updatedAt,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR}, where id = #{id,jdbcType=VARCHAR} update apply_add_work set pro_id = #{proId,jdbcType=VARCHAR}, apply_reasons = #{applyReasons,jdbcType=VARCHAR}, position = #{position,jdbcType=INTEGER}, total_add_time = #{totalAddTime,jdbcType=VARCHAR}, file_data_ids = #{fileDataIds,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, created_by = #{createdBy,jdbcType=VARCHAR}, created_at = #{createdAt,jdbcType=TIMESTAMP}, updated_by = #{updatedBy,jdbcType=VARCHAR}, updated_at = #{updatedAt,jdbcType=TIMESTAMP}, remark = #{remark,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}