Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] 新增未成立的原因 #192

Merged
merged 3 commits into from
Jun 19, 2023
Merged

[feat] 新增未成立的原因 #192

merged 3 commits into from
Jun 19, 2023

Conversation

erik1110
Copy link
Owner

新增未成立的原因

@erik1110 erik1110 requested a review from william9150 June 19, 2023 04:59
This was linked to issues Jun 19, 2023
await Task.findByIdAndUpdate(task._id, { $set: { status: 'deleted', 'time.updatedAt': Date.now() }});
await Task.findByIdAndUpdate(task._id, { $set: { status: 'deleted',
statusReason: '系統下架已過期任務',
'time.deletedAt': Date.now(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

這邊有需要更新deletedAt嗎?
我以為此欄位是給"user自行刪除"使用的

@william9150 william9150 merged commit 886c664 into develop Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

S01 過期任務檢查 T01-04 刪除任務
2 participants