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_video = #{point.provinceTagVideo}, province_tag_car = #{point.provinceTagCar}, province_tag_face = #{point.provinceTagFace}, important_command_image_tag = #{point.importantCommandImageTag}, dept_tag = #{point.deptTag}, username = #{point.username}, password = #{point.password} WHERE serial_number = #{point.serialNumber} update t_yw_point point_name = #{pointName}, update_time = #{updateTime}, dept_id = #{deptId}, province_tag_video = #{provinceTagVideo}, province_tag_car = #{provinceTagCar}, province_tag_face = #{provinceTagFace}, important_tag = #{importantTag}, important_command_image_tag = #{importantCommandImageTag}, dept_tag = #{deptTag}, username = #{username}, password = #{password}, unit_id = #{unitId}, start_time = #{startTime}, end_time = #{endTime}, remark = #{remark}, where id =#{id} delete from t_yw_point p where p.examine_status != 1