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, agent_id, agent_depot_id, storehouse_id, weather, actual_amount, lspz, nature,
level, harvest_year, enter_time, keeper, house_temperature, house_humidity, gas_temperature,
gas_humidity, detection_time, max, min, avg, org_id, create_time, updatetime
t_points
delete from business_agent_temperature
where id = #{id,jdbcType=INTEGER}
delete from business_agent_temperature
insert into business_agent_temperature (id, agent_id, agent_depot_id,
storehouse_id, weather, actual_amount,
lspz, nature, level,
harvest_year, enter_time, keeper,
house_temperature, house_humidity, gas_temperature,
gas_humidity, detection_time, max,
min, avg, org_id, create_time,
updatetime, t_points)
values (#{id,jdbcType=INTEGER}, #{agentId,jdbcType=INTEGER}, #{agentDepotId,jdbcType=INTEGER},
#{storehouseId,jdbcType=INTEGER}, #{weather,jdbcType=VARCHAR}, #{actualAmount,jdbcType=VARCHAR},
#{lspz,jdbcType=INTEGER}, #{nature,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER},
#{harvestYear,jdbcType=INTEGER}, #{enterTime,jdbcType=TIMESTAMP}, #{keeper,jdbcType=VARCHAR},
#{houseTemperature,jdbcType=DECIMAL}, #{houseHumidity,jdbcType=DECIMAL}, #{gasTemperature,jdbcType=DECIMAL},
#{gasHumidity,jdbcType=DECIMAL}, #{detectionTime,jdbcType=TIMESTAMP}, #{max,jdbcType=DECIMAL},
#{min,jdbcType=DECIMAL}, #{avg,jdbcType=DECIMAL}, #{orgId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP}, #{tPoints,jdbcType=LONGVARCHAR})
insert into business_agent_temperature
id,
agent_id,
agent_depot_id,
storehouse_id,
weather,
actual_amount,
lspz,
nature,
level,
harvest_year,
enter_time,
keeper,
house_temperature,
house_humidity,
gas_temperature,
gas_humidity,
detection_time,
max,
min,
avg,
org_id,
create_time,
updatetime,
t_points,
#{id,jdbcType=INTEGER},
#{agentId,jdbcType=INTEGER},
#{agentDepotId,jdbcType=INTEGER},
#{storehouseId,jdbcType=INTEGER},
#{weather,jdbcType=VARCHAR},
#{actualAmount,jdbcType=VARCHAR},
#{lspz,jdbcType=INTEGER},
#{nature,jdbcType=VARCHAR},
#{level,jdbcType=INTEGER},
#{harvestYear,jdbcType=INTEGER},
#{enterTime,jdbcType=TIMESTAMP},
#{keeper,jdbcType=VARCHAR},
#{houseTemperature,jdbcType=DECIMAL},
#{houseHumidity,jdbcType=DECIMAL},
#{gasTemperature,jdbcType=DECIMAL},
#{gasHumidity,jdbcType=DECIMAL},
#{detectionTime,jdbcType=TIMESTAMP},
#{max,jdbcType=DECIMAL},
#{min,jdbcType=DECIMAL},
#{avg,jdbcType=DECIMAL},
#{orgId,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP},
#{tPoints,jdbcType=LONGVARCHAR},
update business_agent_temperature
id = #{record.id,jdbcType=INTEGER},
agent_id = #{record.agentId,jdbcType=INTEGER},
agent_depot_id = #{record.agentDepotId,jdbcType=INTEGER},
storehouse_id = #{record.storehouseId,jdbcType=INTEGER},
weather = #{record.weather,jdbcType=VARCHAR},
actual_amount = #{record.actualAmount,jdbcType=VARCHAR},
lspz = #{record.lspz,jdbcType=INTEGER},
nature = #{record.nature,jdbcType=VARCHAR},
level = #{record.level,jdbcType=INTEGER},
harvest_year = #{record.harvestYear,jdbcType=INTEGER},
enter_time = #{record.enterTime,jdbcType=TIMESTAMP},
keeper = #{record.keeper,jdbcType=VARCHAR},
house_temperature = #{record.houseTemperature,jdbcType=DECIMAL},
house_humidity = #{record.houseHumidity,jdbcType=DECIMAL},
gas_temperature = #{record.gasTemperature,jdbcType=DECIMAL},
gas_humidity = #{record.gasHumidity,jdbcType=DECIMAL},
detection_time = #{record.detectionTime,jdbcType=TIMESTAMP},
max = #{record.max,jdbcType=DECIMAL},
min = #{record.min,jdbcType=DECIMAL},
avg = #{record.avg,jdbcType=DECIMAL},
org_id = #{record.orgId,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
t_points = #{record.tPoints,jdbcType=LONGVARCHAR},
update business_agent_temperature
set id = #{record.id,jdbcType=INTEGER},
agent_id = #{record.agentId,jdbcType=INTEGER},
agent_depot_id = #{record.agentDepotId,jdbcType=INTEGER},
storehouse_id = #{record.storehouseId,jdbcType=INTEGER},
weather = #{record.weather,jdbcType=VARCHAR},
actual_amount = #{record.actualAmount,jdbcType=VARCHAR},
lspz = #{record.lspz,jdbcType=INTEGER},
nature = #{record.nature,jdbcType=VARCHAR},
level = #{record.level,jdbcType=INTEGER},
harvest_year = #{record.harvestYear,jdbcType=INTEGER},
enter_time = #{record.enterTime,jdbcType=TIMESTAMP},
keeper = #{record.keeper,jdbcType=VARCHAR},
house_temperature = #{record.houseTemperature,jdbcType=DECIMAL},
house_humidity = #{record.houseHumidity,jdbcType=DECIMAL},
gas_temperature = #{record.gasTemperature,jdbcType=DECIMAL},
gas_humidity = #{record.gasHumidity,jdbcType=DECIMAL},
detection_time = #{record.detectionTime,jdbcType=TIMESTAMP},
max = #{record.max,jdbcType=DECIMAL},
min = #{record.min,jdbcType=DECIMAL},
avg = #{record.avg,jdbcType=DECIMAL},
org_id = #{record.orgId,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP},
t_points = #{record.tPoints,jdbcType=LONGVARCHAR}
update business_agent_temperature
set id = #{record.id,jdbcType=INTEGER},
agent_id = #{record.agentId,jdbcType=INTEGER},
agent_depot_id = #{record.agentDepotId,jdbcType=INTEGER},
storehouse_id = #{record.storehouseId,jdbcType=INTEGER},
weather = #{record.weather,jdbcType=VARCHAR},
actual_amount = #{record.actualAmount,jdbcType=VARCHAR},
lspz = #{record.lspz,jdbcType=INTEGER},
nature = #{record.nature,jdbcType=VARCHAR},
level = #{record.level,jdbcType=INTEGER},
harvest_year = #{record.harvestYear,jdbcType=INTEGER},
enter_time = #{record.enterTime,jdbcType=TIMESTAMP},
keeper = #{record.keeper,jdbcType=VARCHAR},
house_temperature = #{record.houseTemperature,jdbcType=DECIMAL},
house_humidity = #{record.houseHumidity,jdbcType=DECIMAL},
gas_temperature = #{record.gasTemperature,jdbcType=DECIMAL},
gas_humidity = #{record.gasHumidity,jdbcType=DECIMAL},
detection_time = #{record.detectionTime,jdbcType=TIMESTAMP},
max = #{record.max,jdbcType=DECIMAL},
min = #{record.min,jdbcType=DECIMAL},
avg = #{record.avg,jdbcType=DECIMAL},
org_id = #{record.orgId,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
updatetime = #{record.updatetime,jdbcType=TIMESTAMP}
update business_agent_temperature
agent_id = #{agentId,jdbcType=INTEGER},
agent_depot_id = #{agentDepotId,jdbcType=INTEGER},
storehouse_id = #{storehouseId,jdbcType=INTEGER},
weather = #{weather,jdbcType=VARCHAR},
actual_amount = #{actualAmount,jdbcType=VARCHAR},
lspz = #{lspz,jdbcType=INTEGER},
nature = #{nature,jdbcType=VARCHAR},
level = #{level,jdbcType=INTEGER},
harvest_year = #{harvestYear,jdbcType=INTEGER},
enter_time = #{enterTime,jdbcType=TIMESTAMP},
keeper = #{keeper,jdbcType=VARCHAR},
house_temperature = #{houseTemperature,jdbcType=DECIMAL},
house_humidity = #{houseHumidity,jdbcType=DECIMAL},
gas_temperature = #{gasTemperature,jdbcType=DECIMAL},
gas_humidity = #{gasHumidity,jdbcType=DECIMAL},
detection_time = #{detectionTime,jdbcType=TIMESTAMP},
max = #{max,jdbcType=DECIMAL},
min = #{min,jdbcType=DECIMAL},
avg = #{avg,jdbcType=DECIMAL},
org_id = #{orgId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
t_points = #{tPoints,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update business_agent_temperature
set agent_id = #{agentId,jdbcType=INTEGER},
agent_depot_id = #{agentDepotId,jdbcType=INTEGER},
storehouse_id = #{storehouseId,jdbcType=INTEGER},
weather = #{weather,jdbcType=VARCHAR},
actual_amount = #{actualAmount,jdbcType=VARCHAR},
lspz = #{lspz,jdbcType=INTEGER},
nature = #{nature,jdbcType=VARCHAR},
level = #{level,jdbcType=INTEGER},
harvest_year = #{harvestYear,jdbcType=INTEGER},
enter_time = #{enterTime,jdbcType=TIMESTAMP},
keeper = #{keeper,jdbcType=VARCHAR},
house_temperature = #{houseTemperature,jdbcType=DECIMAL},
house_humidity = #{houseHumidity,jdbcType=DECIMAL},
gas_temperature = #{gasTemperature,jdbcType=DECIMAL},
gas_humidity = #{gasHumidity,jdbcType=DECIMAL},
detection_time = #{detectionTime,jdbcType=TIMESTAMP},
max = #{max,jdbcType=DECIMAL},
min = #{min,jdbcType=DECIMAL},
avg = #{avg,jdbcType=DECIMAL},
org_id = #{orgId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
t_points = #{tPoints,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update business_agent_temperature
set agent_id = #{agentId,jdbcType=INTEGER},
agent_depot_id = #{agentDepotId,jdbcType=INTEGER},
storehouse_id = #{storehouseId,jdbcType=INTEGER},
weather = #{weather,jdbcType=VARCHAR},
actual_amount = #{actualAmount,jdbcType=VARCHAR},
lspz = #{lspz,jdbcType=INTEGER},
nature = #{nature,jdbcType=VARCHAR},
level = #{level,jdbcType=INTEGER},
harvest_year = #{harvestYear,jdbcType=INTEGER},
enter_time = #{enterTime,jdbcType=TIMESTAMP},
keeper = #{keeper,jdbcType=VARCHAR},
house_temperature = #{houseTemperature,jdbcType=DECIMAL},
house_humidity = #{houseHumidity,jdbcType=DECIMAL},
gas_temperature = #{gasTemperature,jdbcType=DECIMAL},
gas_humidity = #{gasHumidity,jdbcType=DECIMAL},
detection_time = #{detectionTime,jdbcType=TIMESTAMP},
max = #{max,jdbcType=DECIMAL},
min = #{min,jdbcType=DECIMAL},
avg = #{avg,jdbcType=DECIMAL},
org_id = #{orgId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
updatetime = #{updatetime,jdbcType=TIMESTAMP},
t_points = #{tPoints,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}