xiaoyong931011
2022-10-24 d3f2b1d3f3ad2717a7669769aa965127f170ff99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
 
    List<IgtOnHookPlanOrder> selectByCreateTime(@Param("createTime")String format);
}