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,file_uuid, house_id, grain_id, safe_date, house_length, house_height, house_width, house_volume,
house_space, type, number, water, impurity, temperature, worm_type, density, medicament,
safe_method, safe_effect, safe_people, charge, c_id, c_time, u_id, u_time
insert into daily_record_foodsafe_new_file (id,file_uuid, house_id, grain_id,
safe_date, house_length, house_height,
house_width, house_volume, house_space,
type, number, water,
impurity, temperature, worm_type,
density, medicament, safe_method,
safe_effect, safe_people, charge,
c_id, c_time, u_id,
u_time)
values (#{id,jdbcType=INTEGER}, #{fileUuid,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
#{safeDate,jdbcType=VARCHAR}, #{houseLength,jdbcType=REAL}, #{houseHeight,jdbcType=REAL},
#{houseWidth,jdbcType=REAL}, #{houseVolume,jdbcType=REAL}, #{houseSpace,jdbcType=REAL},
#{type,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER}, #{water,jdbcType=VARCHAR},
#{impurity,jdbcType=VARCHAR}, #{temperature,jdbcType=VARCHAR}, #{wormType,jdbcType=VARCHAR},
#{density,jdbcType=VARCHAR}, #{medicament,jdbcType=VARCHAR}, #{safeMethod,jdbcType=VARCHAR},
#{safeEffect,jdbcType=VARCHAR}, #{safePeople,jdbcType=VARCHAR}, #{charge,jdbcType=VARCHAR},
#{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP}, #{uId,jdbcType=INTEGER},
#{uTime,jdbcType=TIMESTAMP})
DELETE FROM daily_record_foodsafe_new_file
WHERE house_id = #{houseId}
AND out_date #{cTime}