From 53ae017f0cd9cd1915d385dca17a7996a392fdc8 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sat, 30 Jul 2022 23:30:24 +0800
Subject: [PATCH] fxi
---
src/main/resources/mapper/dapp/DappSystemDao.xml | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappSystemDao.xml b/src/main/resources/mapper/dapp/DappSystemDao.xml
index 857ff04..6e06d3c 100644
--- a/src/main/resources/mapper/dapp/DappSystemDao.xml
+++ b/src/main/resources/mapper/dapp/DappSystemDao.xml
@@ -2,8 +2,18 @@
<!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}
+ where 1=1
+ </update>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1