update: task items添加过滤

This commit is contained in:
Kerwin
2025-08-11 17:51:04 +08:00
parent b567531a7d
commit 25c7c47c96
7 changed files with 96 additions and 46 deletions

View File

@@ -280,7 +280,7 @@ func (h *TaskHandler) GetTaskItems(c *gin.Context) {
}
page, _ := strconv.Atoi(c.DefaultQuery("page", "1"))
pageSize, _ := strconv.Atoi(c.DefaultQuery("page_size", "20"))
pageSize, _ := strconv.Atoi(c.DefaultQuery("page_size", "10000"))
status := c.Query("status")
items, total, err := h.repoMgr.TaskItemRepository.GetListByTaskID(uint(taskID), page, pageSize, status)