From 73f6576344bcad250293edaff8e56f35ddea0dcd Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 07 Jul 2022 21:52:36 +0800
Subject: [PATCH] 20220707 缓慢增加
---
src/main/resources/mapper/dapp/DappSystemDao.xml | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappSystemDao.xml b/src/main/resources/mapper/dapp/DappSystemDao.xml
index 857ff04..8bebc0c 100644
--- a/src/main/resources/mapper/dapp/DappSystemDao.xml
+++ b/src/main/resources/mapper/dapp/DappSystemDao.xml
@@ -2,8 +2,17 @@
<!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="updateDappMineData">
+ update dapp_mine_data
+ set
+ total_output = #{totalOutput},
+ valid_node = #{validNode},
+ partner_cnt = #{partnerCnt},
+ partner_income = #{partnerIncome}
+ </update>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1