From 52e4610b008f7643f84c5f37a110c081123caf69 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期四, 08 一月 2026 09:29:01 +0800
Subject: [PATCH] 报工后新增/修改生产核算;删除报工后,删除关联的核算数据

---
 src/main/resources/mapper/account/AccountFileMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/account/AccountFileMapper.xml b/src/main/resources/mapper/account/AccountFileMapper.xml
index 8def6e1..86266d5 100644
--- a/src/main/resources/mapper/account/AccountFileMapper.xml
+++ b/src/main/resources/mapper/account/AccountFileMapper.xml
@@ -7,6 +7,9 @@
         FROM account_file
         where
         1=1
+        <if test="accountFile.accountId != null and accountFile.accountId != ''">
+            AND account_id = #{accountFile.accountId}
+        </if>
         <if test="accountFile.name != null and accountFile.name != '' ">
             AND name = #{accountFile.name}
         </if>

--
Gitblit v1.9.3