优化仪表盘等
This commit is contained in:
@@ -69,3 +69,8 @@ func DeleteOATask(id int, operatorName string, operatorId int) error {
|
||||
func genTaskNo(tenantId int) string {
|
||||
return fmt.Sprintf("TASK%d%s", tenantId, time.Now().Format("20060102150405"))
|
||||
}
|
||||
|
||||
// 仪表盘获取待办任务
|
||||
func GetTodoTasks(tenantId int, id int, limit int) (tasks []*models.Task, err error) {
|
||||
return models.GetTodoTasks(tenantId, id, limit)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user