New file |
| | |
| | | package com.xcong.excoin.modules.fish.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.xcong.excoin.common.response.Result; |
| | | import com.xcong.excoin.modules.fish.dto.*; |
| | | import com.xcong.excoin.modules.fish.entity.CannonOwnRecord; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | public interface MemberCannonService extends IService<CannonOwnRecord> { |
| | | |
| | | Result coinGoldExchange(CoinGoldExchangeDto coinGoldExchangeDto); |
| | | |
| | | void updateTotalBalanceAndAvailableBalance(@Param("id") Long id, @Param("availableBalance") BigDecimal availableBalance, @Param("totalBalance")BigDecimal totalBalance, @Param("frozenBalance")BigDecimal frozenBalance); |
| | | |
| | | Result getCannons(GetCannonsDto getCannonsDto); |
| | | |
| | | Result cannonExchange(CannonExchangeDto cannonExchangeDto); |
| | | |
| | | Result goldExchange(GoldExchangeDto goldExchangeDto); |
| | | |
| | | Result getGoldAccount(); |
| | | |
| | | Result getOwnCannon(); |
| | | |
| | | Result fishing(FishingDto fishingDto); |
| | | } |