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