From 2f52450964665480f13c94c865bcac9027490380 Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期二, 29 九月 2026 22:49:41 +0800
Subject: [PATCH] fix-home-logo and repair the index overview

---
 src/modules/report/controller/admin/dailysorter.ts |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/src/modules/report/controller/admin/dailysorter.ts b/src/modules/report/controller/admin/dailysorter.ts
index bf25856..eee9564 100644
--- a/src/modules/report/controller/admin/dailysorter.ts
+++ b/src/modules/report/controller/admin/dailysorter.ts
@@ -15,21 +15,7 @@
   pageQueryOp: {
     keyWordLikeFields: ['a.businessName', 'a.businessId'],
     fieldEq: ['a.date', 'a.businessId', 'a.attendanceStatus'],
-    select: ['a.*', 'b.name AS departmentName', 'c.businessName AS workSiteName'],
-    join: [
-      {
-        entity: BaseSysDepartmentEntity,
-        alias: 'b',
-        condition: 'a.departmentId = b.id',
-        type: 'leftJoin',
-      },
-      {
-        entity: BasicdataSiteEntity,
-        alias: 'c',
-        condition: 'a.workSiteId = c.businessId',
-        type: 'leftJoin',
-      },
-    ],
+    select: ['a.*'],
     where: async ctx => {
       const conditions: any[][] = [];
       conditions.push(...(await WithDeptFilterWhere(ctx, { alias: 'a', field: 'departmentId' })));

--
Gitblit v1.9.1