Blame view

parking-module-bill/src/main/java/com/zteits/bill/dao/TVipAreaCardCustInfoRelDao.java 2.87 KB
55f68655   王彪总   新项目
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
  package com.zteits.bill.dao;
  import com.zteits.bill.domain.TVipAreaCardCustInfoRel;
  import com.zteits.bill.domain.TVipAreaCardCustInfoRelExample;
  import com.zteits.bill.domain.TVipCardCustInfo;
  import com.zteits.clouds.api.dto.bill.param.DeleteAreaCardByCustCardNoReq;
  import com.zteits.clouds.api.dto.bill.vipcard.param.QueryVipCardPlNoListRequest;
  import com.zteits.clouds.api.dto.bill.vipcard.param.VipCardInfoReq;
  
  import java.util.List;
  
  public interface TVipAreaCardCustInfoRelDao {
  
      /**
       * 保存
       * @param tVipAreaCardCustInfoRel
       * @return
       */
      int saveTVipAreaCardCustInfoRel(TVipAreaCardCustInfoRel tVipAreaCardCustInfoRel);
  
      /**
       * 批量保存保存
       * @param tVipAreaCardCustInfoRels
       * @return
       */
      int bathSaveTVipAreaCardCustInfoRel(List<TVipAreaCardCustInfoRel> tVipAreaCardCustInfoRels);
  
  
      /**
       * 动态更新
       * @param record 需要更新的信息
       * @param example 更新时的where条件
       * @return
       */
      int updateByExampleSelective(TVipAreaCardCustInfoRel record, TVipAreaCardCustInfoRelExample example);
  
  
      /**
       * 根据主键更新
       * @param record
       * @return
       */
      int updateByPrimaryKeySelective(TVipAreaCardCustInfoRel record);
  
      /**
       * 动态查询
       * @param example
       * @return
       */
      List<TVipAreaCardCustInfoRel> selectByExample(TVipAreaCardCustInfoRelExample example);
  
      /**
       * 根据主键查询
       * @param id
       * @return
       */
      TVipAreaCardCustInfoRel queryByPrimaryKey(Long id);
  
      /**
       * 根据custCardNos查询关联车场信息
       * @param custCardNos
       * @return
       */
      List<TVipAreaCardCustInfoRel> queryTVipAreaCardCustInfoRel(List<String> custCardNos);
  
      /**
       * 逻辑批量删除
       * @param ids
       * @param opId
       * @param opName
       * @return
       */
      int batchDeleteTVipAreaCardCustInfoRelByPrimaryKey(List<Long> ids, String opId, String opName);
  
      /**
       * 根据车场编号查询热门车场
       * @param request
       * @return
       */
      List<String> queryHotParkListForVipCard(QueryVipCardPlNoListRequest request);
  
      /**
       * 修改PC置为失效卡的推送状态
       * @param request
       * @return
       */
      int updateAreaCardPushState(DeleteAreaCardByCustCardNoReq request);
  
      /**
       * 根据停车场编号与车牌号码查询当前有效的会员车信息
       * @param request
       * @return
       */
      TVipCardCustInfo queryCardCustInfoByParkcodeAndCarnumber(VipCardInfoReq request);
  
      /**
       * 动态分页查询
       * @param request
       * @return
       */
      //PageInfo<TVipAreaCardCustInfoRel> queryTVipAreaCardCustInfoRelForPage(TVipAreaCardCustInfoRelRequest request);
  
  
  
      /**
       * 查询该车场是否已经同步
       * @param
       * @return
       * @Author: xiejianpeng
       * @Date: 2020/9/21 13:25
       *
       */
      Integer queryParkAreaCardCountByPlNo(String plNo);
  }