From 708f980f0f351bfe47d7936151bf52ed4d4a7bc4 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期六, 18 七月 2026 18:00:56 +0800
Subject: [PATCH] 业务表支持部门数据权限

---
 src/modules/report/entity/dailysite.ts |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/modules/report/entity/dailysite.ts b/src/modules/report/entity/dailysite.ts
index f29bd5c..7c00c00 100644
--- a/src/modules/report/entity/dailysite.ts
+++ b/src/modules/report/entity/dailysite.ts
@@ -19,6 +19,12 @@
   @Column({ comment: '绔欑偣鍚嶇О' })
   siteName: string;
 
+  @Index()
+  @Column({ comment: '閮ㄩ棬ID' })
+  departmentId: number;
+
+  departmentName: string;
+
   @Column({ comment: '鎬婚噸閲�', type: 'decimal', precision: 15, scale: 2, default: 0.00 })
   weightTotal: number;
 

--
Gitblit v1.9.1