Helius
2020-12-24 c540d1f16d86a0391f9a51ee505ce6866e20ffbd
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.matrix.system.hive.dao;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
import com.matrix.core.pojo.PaginationVO;
import com.matrix.system.app.vo.OrderDetailAchieveItemVo;
import com.matrix.system.app.vo.UserAchieveVo;
import com.matrix.system.hive.bean.AchieveNew;
import org.apache.ibatis.annotations.Param;
 
 
/**
 *
 * @date 2019-03-24 16:01
 */
 
 
public interface AchieveNewDao{
 
    public int insert(@Param("item") AchieveNew achieveNew);
       
       public int batchInsert(@Param("list") List<AchieveNew> achieveNewList);
       
    public int updateByMap(Map<String, Object> modifyMap);
    
    public int updateByModel(@Param("record") AchieveNew achieveNew);
    
    public int deleteByIds(@Param("list") List<Long> list);
    
    public int deleteById(Long id);
 
    public int deleteByModel(@Param("record") AchieveNew achieveNew);
    
 
    public abstract int updateAchieveTime(@Param("record") AchieveNew paramAchieveNew);
      
    
    public List<AchieveNew> selectInPage(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
 
    public List<AchieveNew> selectByModel(@Param("record") AchieveNew achieveNew);
    
    public int  selectTotalRecord(@Param("record") AchieveNew achieveNew);
    
    public AchieveNew  selectById(Long id);
    
    public AchieveNew  selectForUpdate(Long id);
 
    public List<AchieveNew> findDayFlow(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
 
    public int findDayFlowTotal(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
    
 
    public List<AchieveNew> findSumDailyInfoNew(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
 
    
    List<AchieveNew> selectVipConsumeStatisticsList(@Param("record") AchieveNew achieveNew, @Param("pageVo") PaginationVO pageVo);
 
    int selectVipConsumeStatisticsTotal(@Param("record") AchieveNew achieveNew);
 
    UserAchieveVo selectUserAchieveByTime(@Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("userId") Long userId);
 
    List<OrderDetailAchieveItemVo> selectApiOrderItemAchieve(@Param("itemId") Long itemId);
}