select pkId, HARBOR_NAME, dept_id, dept_name, berth_no, oil_b, oil_g, ammo_d, ammo_p, ammo_s, del_flag,
create_by, create_time, update_by, update_time, dockName, water, material, ammo_o, remark,
HEIGHT, HEADING, PITCH, ROLL, LATITUDE, LONGITUDE, POINT_X, POINT_Y from dm_harbor
insert into dm_harbor
name,
dept_id,
dept_name,
berth_no,
oil_b,
oil_g,
ammo_d,
ammo_p,
ammo_s,
del_flag,
create_by,
create_time,
update_by,
update_time,
dockName,
water,
material,
ammo_o,
remark,
HEIGHT,
HEADING,
PITCH,
ROLL,
LATITUDE,
LONGITUDE,
POINT_X,
POINT_Y,
#{name},
#{deptId},
#{deptName},
#{berthNo},
#{oilB},
#{oilG},
#{ammoD},
#{ammoP},
#{ammoS},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{dockName},
#{water},
#{material},
#{ammoO},
#{remark},
#{height},
#{heading},
#{pitch},
#{roll},
#{latitude},
#{longitude},
#{pointX},
#{pointY},
update dm_harbor
name = #{name},
dept_id = #{deptId},
dept_name = #{deptName},
berth_no = #{berthNo},
oil_b = #{oilB},
oil_g = #{oilG},
ammo_d = #{ammoD},
ammo_p = #{ammoP},
ammo_s = #{ammoS},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
dockName = #{dockName},
water = #{water},
material = #{material},
ammo_o = #{ammoO},
remark = #{remark},
where pkId = #{pkId}
delete from dm_harbor where pkId = #{pkId}
delete from dm_harbor where pkId in
#{pkId}