From e6b4a6e816a4bc435e6d5819826256bc9da7a2e8 Mon Sep 17 00:00:00 2001
From: 2019232 <zh123456>
Date: Wed, 14 Dec 2022 15:40:51 +0800
Subject: [PATCH] 增加空判断

---
 src/main/resources/mapper/dapp/DappSystemDao.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/dapp/DappSystemDao.xml b/src/main/resources/mapper/dapp/DappSystemDao.xml
index 95ba411..65cfa33 100644
--- a/src/main/resources/mapper/dapp/DappSystemDao.xml
+++ b/src/main/resources/mapper/dapp/DappSystemDao.xml
@@ -9,6 +9,6 @@
     <update id="updateMineData">
         update dapp_mine_data
             set safe_pool=#{record.safePool}
-        where id=#{record.id}
+        where 1=1
     </update>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1