2019232
2022-12-13 11e14ba210ed19aaf89cade6d5b51b6c53ca38aa
src/main/java/cc/mrbird/febs/dapp/mapper/DappFundFlowDao.java
@@ -24,4 +24,18 @@
    Map<String, BigDecimal> selectAmountTotalByType(@Param("memberId") Long memberId);
    BigDecimal selectProfitAmountByMemberId(@Param("memberId") Long memberId);
    DappFundFlowEntity selectNewestFundFlow(@Param("memberId") Long memberId, @Param("type") Integer type);
    BigDecimal selectSumAmountByMemberIdAndTypeAndStatus(@Param("memberId") Long memberId,@Param("type")int type, @Param("status")int status);
    DappFundFlowEntity selectInfoById(@Param("id")Long id);
    int updateStatusById(@Param("status")int status, @Param("id")Long id);
    DappFundFlowEntity selectByStateAndVersionAndFromHashLimitOne(@Param("status")int withdrawStatusAgree, @Param("version")int withdrawStatusAgree1);
    DappFundFlowEntity selectBymemberIdAndType(@Param("memberId")Long id, @Param("type")int type);
    List<DappFundFlowEntity> selectListByState(@Param("status")int status);
}