delete
from t_yw_point
UPDATE t_yw_point
SET
point_name = #{point.pointName},
unit_id = #{point.unitId},
start_time = #{point.startTime},
end_time = #{point.endTime},
province_tag = #{point.provinceTag},
important_command_image_tag = #{point.importantCommandImageTag},
dept_tag = #{point.deptTag}
WHERE serial_number = #{point.serialNumber}
update t_yw_point
point_name = #{pointName},
update_time = #{updateTime},
dept_id = #{deptId},
province_tag = #{provinceTag},
important_tag = #{importantTag},
important_command_image_tag = #{importantCommandImageTag},
dept_tag = #{deptTag},
unit_id = #{unitId},
start_time = #{startTime},
end_time = #{endTime},
remark = #{remark},
where id =#{id}