xiaoyong931011
2022-10-22 9cc3cf1059d45956f2def7b2b4beb7a112e85c85
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package cc.mrbird.febs.dapp.mapper;
 
import cc.mrbird.febs.dapp.entity.IgtOnHookPlanOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
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);
 
    IgtOnHookPlanOrder selectByMemberId(@Param("memberId")Long memberId);
 
    Integer AddProfitById(@Param("id")Long id, @Param("profit")BigDecimal balance);
 
    BigDecimal selectSumProfitByMemberId(@Param("memberId")Long memberId);
}