xiaoyong931011
2021-05-12 feab2b9842a8f3529804d8de0d16589c2ed05268
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
package com.xcong.excoin.modules.yunding.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xcong.excoin.modules.yunding.dto.YdOrderListDto;
import com.xcong.excoin.modules.yunding.entity.YdBasicLevelSettingEntity;
import com.xcong.excoin.modules.yunding.entity.YdOrderEntity;
import com.xcong.excoin.modules.yunding.vo.AgentVo;
import com.xcong.excoin.modules.yunding.vo.YdOrderVo;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface YdOrderDao extends BaseMapper<YdOrderEntity> {
 
    IPage<YdOrderVo> getOrderList(Page<YdOrderVo> page, @Param("record") YdOrderEntity ydOrderEntity);
 
    List<YdOrderEntity> selectNeedReturnOrders();
 
    List<YdOrderEntity> selectAllValidOrders();
 
    void UpdateByIdAndState(@Param("id")Long id, @Param("state")int state);
 
    void updateAgentLevel(@Param("id")Long id, @Param("levelId")int ilevelIdd);
 
    YdOrderVo selectOrderByMemberIdAndId(@Param("memberId")Long memberId, @Param("id")Long id);
 
    IPage<AgentVo> getAgentList(Page<AgentVo> page, @Param("record")  YdBasicLevelSettingEntity ydBasicLevelSettingEntity);
}