Blame view

parking-module-park/src/main/java/com/zteits/park/dao/TpPEqpGatewayDao.java 1.85 KB
9af4a544   王彪总   新项目
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
  package com.zteits.park.dao;
  import com.github.pagehelper.PageInfo;
  import com.zteits.clouds.api.dto.park.dto.StaticEqpConutForGatewayDTO;
  import com.zteits.park.domain.TpPEqpGateway;
  import com.zteits.park.domain.TpPEqpGatewayExample;
  import com.zteits.clouds.api.dto.park.param.TpPEqpGatewayRequest;
  
  import java.util.List;
  
  public interface TpPEqpGatewayDao {
      /**
       * 逻辑删除-通过主键
       * @param id
       * @return
       */
      int deleteTpPEqpGatewayByPrimaryKey(Long id,Long opId,String opName);
  
      /**
       * 保存
       * @param tpPEqpGateway
       * @return
       */
      int saveTpPEqpGateway(TpPEqpGateway tpPEqpGateway);
  
  
      /**
       * 动态更新
       * @param record 需要更新的信息
       * @param example 更新时的where条件
       * @return
       */
      int updateByExampleSelective(TpPEqpGateway record, TpPEqpGatewayExample example);
  
  
      /**
       * 根据主键更新
       * @param record
       * @return
       */
      int updateByPrimaryKeySelective(TpPEqpGateway record);
  
      /**
       * 动态查询
       * @param example
       * @return
       */
      List<TpPEqpGateway> selectByExample(TpPEqpGatewayExample example);
  
      /**
       * 根据主键查询
       * @param id
       * @return
       */
      TpPEqpGateway queryByPrimaryKey(Long id);
  
      /**
       * 动态查询
       * @param request
       * @return
       */
      List<TpPEqpGateway> queryTpPEqpGateway(TpPEqpGatewayRequest request);
  
      /**
       * 逻辑批量删除
       * @param ids
       * @param opId
       * @param opName
       * @return
       */
      int batchDeleteTpPEqpGatewayByPrimaryKey(List<Long> ids, Long opId, String opName);
  
      /**
       * 动态分页查询
       * @param request
       * @return
       */
      PageInfo<TpPEqpGateway> queryTpPEqpGatewayForPage(TpPEqpGatewayRequest request);
  
  
      StaticEqpConutForGatewayDTO statisticEqpCountByCondition(TpPEqpGatewayRequest request);
  
  }