@ -242,7 +242,7 @@ async function addPatrolRecord(ctx, next) {
let isComplete = true;
for (const p of curPatrolPlan.points) {
if (!groupRecord[p.id]) {
if (curPatrolPlan.points.length === 1 && frequency === 1) {
if (pointId === p.id && frequency === 1) {
continue;
} else {
isComplete = false;