xiaoyong931011
2023-02-09 e92b00089d8d57899df380135d79864dade09837
src/main/java/cc/mrbird/febs/dapp/mapper/IgtOnHookPlanOrderDao.java
@@ -1,7 +1,11 @@
package cc.mrbird.febs.dapp.mapper;
import cc.mrbird.febs.dapp.entity.DappAccountMoneyChangeEntity;
import cc.mrbird.febs.dapp.entity.IgtOnHookPlanOrder;
import cc.mrbird.febs.dapp.vo.AdminIgtOnHookPlanOrderVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
@@ -13,9 +17,23 @@
    Integer updateAvaAmountById(@Param("id")Long id,@Param("amount")BigDecimal amount);
    Integer addAvaAmountById(@Param("id")Long id,@Param("amount")BigDecimal amount);
    IgtOnHookPlanOrder selectByMemberId(@Param("memberId")Long memberId);
    Integer AddProfitById(@Param("id")Long id, @Param("profit")BigDecimal balance);
    BigDecimal selectSumProfitByMemberId(@Param("memberId")Long memberId);
    List<IgtOnHookPlanOrder> selectByCreateTime(@Param("createTime")String format);
    IPage<AdminIgtOnHookPlanOrderVo> findMemberPlanListInPage(Page<IgtOnHookPlanOrder> page, @Param("record")IgtOnHookPlanOrder igtOnHookPlanOrder);
    List<Long> selectIdsByState(@Param("state")int i);
    void updateByIds(List<Long> ids);
    IPage<DappAccountMoneyChangeEntity> findFlowListInPage(Page<DappAccountMoneyChangeEntity> page, @Param("orderId")Long id);
    void updatePlanOrder();
}