select PKID, NAME, HARBOR_ID, HARBOR_NAME, BERTH_LEN, DEPTH, STATUS, ORDER_NUM, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, DEPT_ID, PATH from dm_berth insert into dm_berth PKID, NAME, HARBOR_ID, HARBOR_NAME, BERTH_LEN, DEPTH, STATUS, ORDER_NUM, DEL_FLAG, CREATE_BY, CREATE_TIME, UPDATE_BY, UPDATE_TIME, DEPT_ID, PATH, #{PKID}, #{NAME}, #{harborId}, #{harborName}, #{berthLen}, #{DEPTH}, #{STATUS}, #{orderNum}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{deptId}, #{path}, update dm_berth NAME = #{NAME}, HARBOR_ID = #{harborId}, HARBOR_NAME = #{harborName}, BERTH_LEN = #{berthLen}, DEPTH = #{DEPTH}, STATUS = #{STATUS}, ORDER_NUM = #{orderNum}, DEL_FLAG = #{delFlag}, CREATE_BY = #{createBy}, CREATE_TIME = #{createTime}, UPDATE_BY = #{updateBy}, UPDATE_TIME = #{updateTime}, PATH = #{path}, where PKID = #{PKID} delete from dm_berth where PKID = #{PKID} delete from dm_berth where PKID in #{PKID}