wuyi hai 1 ano
pai
achega
94b87c93d0
Modificáronse 2 ficheiros con 0 adicións e 23 borrados
  1. 0 14
      src/statistics/statistics.service.ts
  2. 0 9
      src/statistics/vo/statistics.vo.ts

+ 0 - 14
src/statistics/statistics.service.ts

@@ -14,18 +14,4 @@ export class StatisticsService {
     ) {
     }
 
-    async getStatistics() {
-        // 查询TaskItem状态为success的数据
-        let taskItems = await this.taskItemRepository.find({
-            where: {
-                status: 'success'
-            }
-        })
-
-        return {
-            month: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
-            value: []
-        }
-    }
-
 }

+ 0 - 9
src/statistics/vo/statistics.vo.ts

@@ -1,9 +0,0 @@
-export class StatisticsVo {
-
-    readonly year: string
-
-    readonly moth: string
-
-    readonly value: string
-
-}