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, equipment_id, station_id, operator_id, manufacturer_id, manufacturer_name, equipment_model,
production_date, equipment_type, equipment_lng, equipment_lat, power, equipment_name,
data_state, create_emp_id, create_emp_name, create_time, modify_emp_id, modify_emp_name,
modify_time, org_id
delete from equipment_info
where id = #{id,jdbcType=BIGINT}
delete from equipment_info
SELECT LAST_INSERT_ID()
insert into equipment_info (equipment_id, station_id, operator_id,
manufacturer_id, manufacturer_name, equipment_model,
production_date, equipment_type, equipment_lng,
equipment_lat, power, equipment_name,
data_state, create_emp_id, create_emp_name,
create_time, modify_emp_id, modify_emp_name,
modify_time, org_id)
values (#{equipmentId,jdbcType=VARCHAR}, #{stationId,jdbcType=VARCHAR}, #{operatorId,jdbcType=VARCHAR},
#{manufacturerId,jdbcType=VARCHAR}, #{manufacturerName,jdbcType=VARCHAR}, #{equipmentModel,jdbcType=VARCHAR},
#{productionDate,jdbcType=VARCHAR}, #{equipmentType,jdbcType=INTEGER}, #{equipmentLng,jdbcType=DECIMAL},
#{equipmentLat,jdbcType=DECIMAL}, #{power,jdbcType=DECIMAL}, #{equipmentName,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{modifyEmpId,jdbcType=VARCHAR}, #{modifyEmpName,jdbcType=VARCHAR},
#{modifyTime,jdbcType=TIMESTAMP}, #{orgId,jdbcType=BIGINT})
SELECT LAST_INSERT_ID()
insert into equipment_info
equipment_id,
station_id,
operator_id,
manufacturer_id,
manufacturer_name,
equipment_model,
production_date,
equipment_type,
equipment_lng,
equipment_lat,
power,
equipment_name,
data_state,
create_emp_id,
create_emp_name,
create_time,
modify_emp_id,
modify_emp_name,
modify_time,
org_id,
#{equipmentId,jdbcType=VARCHAR},
#{stationId,jdbcType=VARCHAR},
#{operatorId,jdbcType=VARCHAR},
#{manufacturerId,jdbcType=VARCHAR},
#{manufacturerName,jdbcType=VARCHAR},
#{equipmentModel,jdbcType=VARCHAR},
#{productionDate,jdbcType=VARCHAR},
#{equipmentType,jdbcType=INTEGER},
#{equipmentLng,jdbcType=DECIMAL},
#{equipmentLat,jdbcType=DECIMAL},
#{power,jdbcType=DECIMAL},
#{equipmentName,jdbcType=VARCHAR},
#{dataState,jdbcType=INTEGER},
#{createEmpId,jdbcType=VARCHAR},
#{createEmpName,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modifyEmpId,jdbcType=VARCHAR},
#{modifyEmpName,jdbcType=VARCHAR},
#{modifyTime,jdbcType=TIMESTAMP},
#{orgId,jdbcType=BIGINT},
update equipment_info
id = #{record.id,jdbcType=BIGINT},
equipment_id = #{record.equipmentId,jdbcType=VARCHAR},
station_id = #{record.stationId,jdbcType=VARCHAR},
operator_id = #{record.operatorId,jdbcType=VARCHAR},
manufacturer_id = #{record.manufacturerId,jdbcType=VARCHAR},
manufacturer_name = #{record.manufacturerName,jdbcType=VARCHAR},
equipment_model = #{record.equipmentModel,jdbcType=VARCHAR},
production_date = #{record.productionDate,jdbcType=VARCHAR},
equipment_type = #{record.equipmentType,jdbcType=INTEGER},
equipment_lng = #{record.equipmentLng,jdbcType=DECIMAL},
equipment_lat = #{record.equipmentLat,jdbcType=DECIMAL},
power = #{record.power,jdbcType=DECIMAL},
equipment_name = #{record.equipmentName,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{record.modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{record.modifyEmpName,jdbcType=VARCHAR},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT},
update equipment_info
set id = #{record.id,jdbcType=BIGINT},
equipment_id = #{record.equipmentId,jdbcType=VARCHAR},
station_id = #{record.stationId,jdbcType=VARCHAR},
operator_id = #{record.operatorId,jdbcType=VARCHAR},
manufacturer_id = #{record.manufacturerId,jdbcType=VARCHAR},
manufacturer_name = #{record.manufacturerName,jdbcType=VARCHAR},
equipment_model = #{record.equipmentModel,jdbcType=VARCHAR},
production_date = #{record.productionDate,jdbcType=VARCHAR},
equipment_type = #{record.equipmentType,jdbcType=INTEGER},
equipment_lng = #{record.equipmentLng,jdbcType=DECIMAL},
equipment_lat = #{record.equipmentLat,jdbcType=DECIMAL},
power = #{record.power,jdbcType=DECIMAL},
equipment_name = #{record.equipmentName,jdbcType=VARCHAR},
data_state = #{record.dataState,jdbcType=INTEGER},
create_emp_id = #{record.createEmpId,jdbcType=VARCHAR},
create_emp_name = #{record.createEmpName,jdbcType=VARCHAR},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{record.modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{record.modifyEmpName,jdbcType=VARCHAR},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
org_id = #{record.orgId,jdbcType=BIGINT}
update equipment_info
equipment_id = #{equipmentId,jdbcType=VARCHAR},
station_id = #{stationId,jdbcType=VARCHAR},
operator_id = #{operatorId,jdbcType=VARCHAR},
manufacturer_id = #{manufacturerId,jdbcType=VARCHAR},
manufacturer_name = #{manufacturerName,jdbcType=VARCHAR},
equipment_model = #{equipmentModel,jdbcType=VARCHAR},
production_date = #{productionDate,jdbcType=VARCHAR},
equipment_type = #{equipmentType,jdbcType=INTEGER},
equipment_lng = #{equipmentLng,jdbcType=DECIMAL},
equipment_lat = #{equipmentLat,jdbcType=DECIMAL},
power = #{power,jdbcType=DECIMAL},
equipment_name = #{equipmentName,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{modifyEmpName,jdbcType=VARCHAR},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update equipment_info
set equipment_id = #{equipmentId,jdbcType=VARCHAR},
station_id = #{stationId,jdbcType=VARCHAR},
operator_id = #{operatorId,jdbcType=VARCHAR},
manufacturer_id = #{manufacturerId,jdbcType=VARCHAR},
manufacturer_name = #{manufacturerName,jdbcType=VARCHAR},
equipment_model = #{equipmentModel,jdbcType=VARCHAR},
production_date = #{productionDate,jdbcType=VARCHAR},
equipment_type = #{equipmentType,jdbcType=INTEGER},
equipment_lng = #{equipmentLng,jdbcType=DECIMAL},
equipment_lat = #{equipmentLat,jdbcType=DECIMAL},
power = #{power,jdbcType=DECIMAL},
equipment_name = #{equipmentName,jdbcType=VARCHAR},
data_state = #{dataState,jdbcType=INTEGER},
create_emp_id = #{createEmpId,jdbcType=VARCHAR},
create_emp_name = #{createEmpName,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modify_emp_id = #{modifyEmpId,jdbcType=VARCHAR},
modify_emp_name = #{modifyEmpName,jdbcType=VARCHAR},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
org_id = #{orgId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}