Blame view

src/main/java/com/sincere/wechatbusiness/mapper/ChannelMapper.java 2.38 KB
f318719c   louyao   渠道商后台
1
2
package com.sincere.wechatbusiness.mapper;

962b0bfd   louyao   渠道商移动端
3
import com.sincere.wechatbusiness.model.*;
9a842bee   louyao   微信分享accesstoken做缓存处理
4
5
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;
f318719c   louyao   渠道商后台
6
7
8
9

import java.util.List;

public interface ChannelMapper {
4086b7de   陈杰   1
10

261c4e04   陈杰   动态码
11
12
13
    List<Channel> getListByTemplate(int templateId);

    List<Channel> getList(Channel channel);
cdc58444   陈杰   1
14
15

    int getListCount(Channel channel);
e4bf0169   陈杰   1
16

4086b7de   陈杰   1
17
    Channel getDetail(int id);
f318719c   louyao   渠道商后台
18
19
20
21
22
23
24
25
26
27
28

    int insert(Channel channel);

    int update(Channel channel);

    int deleteChannel(int id);

    List<Area> getProvince();

    List<Area> getCity(String areaCode);

634b467b   louyao   渠道商后台
29
    List<Area> getArea(String areaCode);
bbcd213f   陈杰   渠道商 动态码
30
31

    List<Template> getTemplateList();
634b467b   louyao   渠道商后台
32
33
34
35
36
37
38

    Manager getManagerDetail(String mobile);

    int insertLog(Log log);

    int getRegisterCount(@Param("channelId") int channelId, @Param("agentId") int agentId, @Param("type") int type);

962b0bfd   louyao   渠道商移动端
39
40
41
42
    int getOrderCount(@Param("channelId") int channelId, @Param("agentId") int agentId, @Param("type") int type,@Param("state") int state);

    int getPageViewCount(@Param("channelId") int channelId, @Param("agentId") int agentId, @Param("type") int type);

9a842bee   louyao   微信分享accesstoken做缓存处理
43
44
45
46
47
    List<Users> getAgentRegisterList(@Param("channelId") int channelId,@Param("type") int type,@Param("state") int state);

    List<Users> getAgentPageViewList(@Param("channelId") int channelId,@Param("agentId") int agentId,@Param("type") int type,@Param("state") int state);

    List<Users> getAgentOrderList(@Param("channelId") int channelId,@Param("type") int type,@Param("state") int state);
e4bf0169   陈杰   1
48
49

    Users getChannelRegister(@Param("channelId") int channelId,@Param("type") int type,@Param("state") int state);
9a842bee   louyao   微信分享accesstoken做缓存处理
50
51

    Users getChannelPageView(@Param("channelId") int channelId,@Param("type") int type,@Param("state") int state);
e4bf0169   陈杰   1
52
53

    Users getChannelOrder(@Param("channelId") int channelId,@Param("type") int type,@Param("state") int state);
9a842bee   louyao   微信分享accesstoken做缓存处理
54
55
56
57

    List<DiscountPackage> getOrderList(@Param("channelId") int channelId,@Param("agentId") int agentId,@Param("type") int type,@Param("state") int state);

    List<Users> getRegisterDetailList(@Param("channelId") int channelId,@Param("agentId") int agentId,@Param("type") int type);
e4bf0169   陈杰   1
58
59

    List<DiscountPackage> getOrderDetailList(@Param("channelId") int channelId,@Param("agentId") int agentId,@Param("type") int type,@Param("productId") int productId,@Param("state") int state);
9a842bee   louyao   微信分享accesstoken做缓存处理
60
61

    int insertAccessToken(AccessToken accessToken);
f6080e74   louyao   统计bug
62

9a842bee   louyao   微信分享accesstoken做缓存处理
63
64
    AccessToken getAccessToken();
}
be734459   louyao   统计bug

9a842bee   louyao   微信分享accesstoken做缓存处理

cb8c5b2f   陈杰   1

f318719c   louyao   渠道商后台