work_station_id, `name`, operator_id, `type`, construction_site, service_facilities,
periphery_facilities, address, detailed_address, longitude, latitude, parking_instructions,
serial_number, `status`, del_flag, create_time, create_by, update_time, update_by,
remark, business_instructions, reminder_instructions, img_id, station_type, service_tel,
park_nums, tenant_id
update xhpc_work_station set del_flag=2
where work_station_id = #{workStationId,jdbcType=BIGINT}
insert into xhpc_work_station (`name`, operator_id, `type`,
construction_site, service_facilities, periphery_facilities,
address, detailed_address, longitude,
latitude, parking_instructions, serial_number,
`status`, del_flag, create_time,
create_by, update_time, update_by,
remark, business_instructions, reminder_instructions,
img_id, station_type, service_tel,
park_nums, tenant_id)
values (#{name,jdbcType=VARCHAR}, #{operatorId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER},
#{constructionSite,jdbcType=SMALLINT}, #{serviceFacilities,jdbcType=VARCHAR}, #{peripheryFacilities,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR}, #{detailedAddress,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR},
#{latitude,jdbcType=VARCHAR}, #{parkingInstructions,jdbcType=VARCHAR}, #{serialNumber,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER}, 0, sysdate(),
#{createBy,jdbcType=VARCHAR}, sysdate(), #{updateBy,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR}, #{businessInstructions,jdbcType=VARCHAR}, #{reminderInstructions,jdbcType=VARCHAR},
#{imgId,jdbcType=VARCHAR}, #{stationType,jdbcType=SMALLINT}, #{serviceTel,jdbcType=VARCHAR},
#{parkNums,jdbcType=INTEGER}, #{tenantId,jdbcType=VARCHAR})
insert into xhpc_work_station
`name`,
operator_id,
`type`,
construction_site,
service_facilities,
periphery_facilities,
address,
detailed_address,
longitude,
latitude,
parking_instructions,
serial_number,
`status`,
del_flag,
create_time,
create_by,
update_time,
update_by,
remark,
business_instructions,
reminder_instructions,
img_id,
station_type,
service_tel,
park_nums,
tenant_id,
#{name,jdbcType=VARCHAR},
#{operatorId,jdbcType=BIGINT},
#{type,jdbcType=INTEGER},
#{constructionSite,jdbcType=SMALLINT},
#{serviceFacilities,jdbcType=VARCHAR},
#{peripheryFacilities,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{detailedAddress,jdbcType=VARCHAR},
#{longitude,jdbcType=VARCHAR},
#{latitude,jdbcType=VARCHAR},
#{parkingInstructions,jdbcType=VARCHAR},
#{serialNumber,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER},
0,
sysdate(),
#{createBy,jdbcType=VARCHAR},
sysdate(),
#{updateBy,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{businessInstructions,jdbcType=VARCHAR},
#{reminderInstructions,jdbcType=VARCHAR},
#{imgId,jdbcType=VARCHAR},
#{stationType,jdbcType=SMALLINT},
#{serviceTel,jdbcType=VARCHAR},
#{parkNums,jdbcType=INTEGER},
#{tenantId,jdbcType=VARCHAR},
update xhpc_work_station
`name` = #{name,jdbcType=VARCHAR},
operator_id = #{operatorId,jdbcType=BIGINT},
`type` = #{type,jdbcType=INTEGER},
construction_site = #{constructionSite,jdbcType=SMALLINT},
service_facilities = #{serviceFacilities,jdbcType=VARCHAR},
periphery_facilities = #{peripheryFacilities,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
detailed_address = #{detailedAddress,jdbcType=VARCHAR},
longitude = #{longitude,jdbcType=VARCHAR},
latitude = #{latitude,jdbcType=VARCHAR},
parking_instructions = #{parkingInstructions,jdbcType=VARCHAR},
serial_number = #{serialNumber,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
update_time = sysdate(),
update_by = #{updateBy,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
business_instructions = #{businessInstructions,jdbcType=VARCHAR},
reminder_instructions = #{reminderInstructions,jdbcType=VARCHAR},
img_id = #{imgId,jdbcType=VARCHAR},
station_type = #{stationType,jdbcType=SMALLINT},
service_tel = #{serviceTel,jdbcType=VARCHAR},
park_nums = #{parkNums,jdbcType=INTEGER},
tenant_id = #{tenantId,jdbcType=VARCHAR},
where work_station_id = #{workStationId,jdbcType=BIGINT}
update xhpc_work_station
set `name` = #{name,jdbcType=VARCHAR},
operator_id = #{operatorId,jdbcType=BIGINT},
`type` = #{type,jdbcType=INTEGER},
construction_site = #{constructionSite,jdbcType=SMALLINT},
service_facilities = #{serviceFacilities,jdbcType=VARCHAR},
periphery_facilities = #{peripheryFacilities,jdbcType=VARCHAR},
address = #{address,jdbcType=VARCHAR},
detailed_address = #{detailedAddress,jdbcType=VARCHAR},
longitude = #{longitude,jdbcType=VARCHAR},
latitude = #{latitude,jdbcType=VARCHAR},
parking_instructions = #{parkingInstructions,jdbcType=VARCHAR},
serial_number = #{serialNumber,jdbcType=VARCHAR},
`status` = #{status,jdbcType=INTEGER},
update_time = sysdate(),
update_by = #{updateBy,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
business_instructions = #{businessInstructions,jdbcType=VARCHAR},
reminder_instructions = #{reminderInstructions,jdbcType=VARCHAR},
img_id = #{imgId,jdbcType=VARCHAR},
station_type = #{stationType,jdbcType=SMALLINT},
service_tel = #{serviceTel,jdbcType=VARCHAR},
park_nums = #{parkNums,jdbcType=INTEGER},
tenant_id = #{tenantId,jdbcType=VARCHAR}
where work_station_id = #{workStationId,jdbcType=BIGINT}
insert into xhpc_work_station (work_station_id, `name`, operator_id, `type`,
construction_site, service_facilities, periphery_facilities,
address, detailed_address, longitude,
latitude, parking_instructions, serial_number,
`status`, del_flag, create_time,
create_by, update_time, update_by,
remark, business_instructions, reminder_instructions,
img_id, station_type, service_tel,
park_nums, tenant_id)
values
(#{domain.workStationId}, #{domain.name}, #{domain.operatorId}, #{domain.type},
#{domain.constructionSite}, #{domain.serviceFacilities}, #{domain.peripheryFacilities},
#{domain.address}, #{domain.detailedAddress}, #{domain.longitude},
#{domain.latitude}, #{domain.parkingInstructions}, #{domain.serialNumber},
#{domain.status}, 0, sysdate(),
#{domain.createBy}, sysdate(), #{domain.updateBy},
#{domain.remark}, #{domain.businessInstructions}, #{domain.reminderInstructions},
#{domain.imgId}, #{domain.stationType}, #{domain.serviceTel},
#{domain.parkNums}, #{domain.tenantId})