select works_id, parent_id, ancestors, works_name, order_num, works_status, del_flag, create_by, create_time, update_by, update_time, works_no, works_province, works_city, works_area, works_longitude, works_latitude, works_address, works_count, works_type, works_center, works_belong, works_maintainer, works_tel from biz_water_work insert into biz_water_work works_id, parent_id, ancestors, works_name, order_num, works_status, del_flag, create_by, create_time, update_by, update_time, works_no, works_province, works_city, works_area, works_longitude, works_latitude, works_address, works_count, works_type, works_center, works_belong, works_maintainer, works_tel, #{worksId}, #{parentId}, #{ancestors}, #{worksName}, #{orderNum}, #{worksStatus}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{worksNo}, #{worksProvince}, #{worksCity}, #{worksArea}, #{worksLongitude}, #{worksLatitude}, #{worksAddress}, #{worksCount}, #{worksType}, #{worksCenter}, #{worksBelong}, #{worksMaintainer}, #{worksTel}, update biz_water_work parent_id = #{parentId}, ancestors = #{ancestors}, works_name = #{worksName}, order_num = #{orderNum}, works_status = #{worksStatus}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, works_no = #{worksNo}, works_province = #{worksProvince}, works_city = #{worksCity}, works_area = #{worksArea}, works_longitude = #{worksLongitude}, works_latitude = #{worksLatitude}, works_address = #{worksAddress}, works_count = #{worksCount}, works_type = #{worksType}, works_center = #{worksCenter}, works_belong = #{worksBelong}, works_maintainer = #{worksMaintainer}, works_tel = #{worksTel}, where works_id = #{worksId} delete from biz_water_work where works_id = #{worksId} delete from biz_water_work where works_id in #{worksId}