From 10f588bd033e7b365eb7bc7f0396d40472e27e10 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sat, 27 Aug 2022 14:11:53 +0800
Subject: [PATCH] fix
---
src/main/resources/mapper/dapp/DappSystemDao.xml | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappSystemDao.xml b/src/main/resources/mapper/dapp/DappSystemDao.xml
index 857ff04..95ba411 100644
--- a/src/main/resources/mapper/dapp/DappSystemDao.xml
+++ b/src/main/resources/mapper/dapp/DappSystemDao.xml
@@ -2,8 +2,13 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cc.mrbird.febs.dapp.mapper.DappSystemDao">
- <select id="selectMineDataForOne" resultType="cc.mrbird.febs.dapp.entity.DappWalletMineEntity">
+ <select id="selectMineDataForOne" resultType="cc.mrbird.febs.dapp.entity.DappMineDataEntity">
select * from dapp_mine_data limit 1
</select>
+ <update id="updateMineData">
+ update dapp_mine_data
+ set safe_pool=#{record.safePool}
+ where id=#{record.id}
+ </update>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1