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

[ 问题咨询 ]在哪个地方可以删除历史工单或者设置工单的保留时间 #940

Closed
zhituanchen opened this issue Oct 26, 2020 · 5 comments
Labels
question Further information is requested wontfix This will not be worked on

Comments

@zhituanchen
Copy link

问题描述

您好,请问一下:
在哪个地方可以删除历史工单或者设置工单的保留时间
删除历史工单操作
设置保存工单记录的时间

版本信息

  • 应用版本/分支:Release v1.7.13
  • 部署方式:Docker、手工部署

截图信息

image

@zhituanchen zhituanchen added the question Further information is requested label Oct 26, 2020
@hhyo
Copy link
Owner

hhyo commented Oct 29, 2020

目前不提供工单自动归档,可以自己通过平台建立一个归档任务

hhyo added a commit that referenced this issue Oct 31, 2020
优化时间选择框的样式展示
hhyo added a commit that referenced this issue Oct 31, 2020
优化时间选择框的样式展示
hhyo added a commit that referenced this issue Oct 31, 2020
优化时间选择框的样式展示
@zhituanchen
Copy link
Author

hi hhyo:
感谢回复,展示是30天的记录(没有看到数据保留策略),那一般的话是怎样清理历史的工单数据呢,直接数据库层面么,如果是的话,那么清理哪几个表呢(一般有关联关系的表),或者能否提供比较安全性的清理策略;

@stale
Copy link

stale bot commented Nov 21, 2020

你已经很久没有回复这个issue了,如果没有进一步的信息的话, 会作为不活跃issue关闭, 感谢你对本项目的贡献。
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Nov 21, 2020
@hhyo
Copy link
Owner

hhyo commented Nov 21, 2020

主要是sql_workflow和sql_workflow_content

关于模型定义可以参考
https://github.com/hhyo/Archery/blob/master/sql/models.py

@stale stale bot removed the wontfix This will not be worked on label Nov 21, 2020
@stale
Copy link

stale bot commented Dec 6, 2020

你已经很久没有回复这个issue了,如果没有进一步的信息的话, 会作为不活跃issue关闭, 感谢你对本项目的贡献。
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Dec 6, 2020
@stale stale bot closed this as completed Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants