lanjianrong 4 years ago
parent
commit
85c6f0cc14
1 changed files with 5 additions and 1 deletions
  1. 5 1
      services/safe_audit.service.go

+ 5 - 1
services/safe_audit.service.go

@@ -152,7 +152,11 @@ func (s *safeAuditService) StartAudit(safeId int, bidsectionId int, times int, a
 		auditVM.AuditOrder = i + 1
 		auditVM.CreateTime = time.Now()
 		auditVM.Progress = 0
-		auditVM.Status = 0
+		if i == 0 {
+			auditVM.Status = 1
+		} else {
+			auditVM.Status = 0
+		}
 		auditVM.Times = times
 		data = append(data, auditVM)
 	}