From be6f79a634727b59c6a40e3fffa989b5de1b0ec7 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 24 Nov 2021 16:54:01 +0800 Subject: [PATCH] Merge branch 'fish' of http://120.27.238.55:7000/r/exchange into fish --- src/main/java/com/xcong/excoin/modules/fish/dao/MemberAccountGoldDao.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/fish/dao/MemberAccountGoldDao.java b/src/main/java/com/xcong/excoin/modules/fish/dao/MemberAccountGoldDao.java new file mode 100644 index 0000000..5bc26ca --- /dev/null +++ b/src/main/java/com/xcong/excoin/modules/fish/dao/MemberAccountGoldDao.java @@ -0,0 +1,17 @@ +package com.xcong.excoin.modules.fish.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xcong.excoin.modules.fish.entity.MemberAccountGold; +import com.xcong.excoin.modules.fish.vo.GoldAccountVo; +import org.apache.ibatis.annotations.Param; + +import java.math.BigDecimal; + +public interface MemberAccountGoldDao extends BaseMapper<MemberAccountGold> { + + MemberAccountGold selectAccountGoldByMemberId(@Param("memberId")Long memberId); + + int updateTotalBalanceAndAvailableBalance(@Param("id") Long id, @Param("availableBalance") BigDecimal availableBalance, @Param("totalBalance") BigDecimal totalBalance, @Param("frozenBalance") BigDecimal frozenBalance); + + GoldAccountVo selectAccountGoldVoByMemberId(Long memberId); +} -- Gitblit v1.9.1