xiaoyong931011
2022-11-18 4ccaaf3dccbd8ad40f093dab238f51d350f15a43
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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;
import java.util.List;
 
public interface IgtOnHookPlanOrderDao extends BaseMapper<IgtOnHookPlanOrder> {
 
    List<IgtOnHookPlanOrder> selectByState(@Param("state")int i);
 
    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();
}