Reject 拒绝计划
(note string)
| 193 | |
| 194 | // Reject 拒绝计划 |
| 195 | func (p *ExecutionPlan) Reject(note string) { |
| 196 | p.UserApproved = false |
| 197 | p.RejectionNote = note |
| 198 | p.Status = StatusCancelled |
| 199 | p.UpdatedAt = time.Now() |
| 200 | } |
| 201 | |
| 202 | // MarkStepStarted 标记步骤开始 |
| 203 | func (p *ExecutionPlan) MarkStepStarted(index int) { |
no outgoing calls