From 4476c65b4bb1c807e6a67106bf34cc8501c13170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=B9=8F=E5=AE=87?= <9664676+pengyuthon@user.noreply.gitee.com> Date: Mon, 23 Mar 2026 10:57:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yuthon_notice/models/yuthon_notice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yuthon_notice/models/yuthon_notice.py b/yuthon_notice/models/yuthon_notice.py index 9e72660d8..e77ceb0c8 100644 --- a/yuthon_notice/models/yuthon_notice.py +++ b/yuthon_notice/models/yuthon_notice.py @@ -234,6 +234,7 @@ class YuthonNotice(models.Model): msg_id = mapping['msg_id'] is_exist = self.env['yuthon.confirm.users'].search([ ('notice_id', '=', self.id), + ('notice_code', '=', self.code), ('employee_id', '=', emp_id) ], limit=1) if not is_exist: