SafeMessageMapper.java
2.54 KB
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
/*
 * @(#)SafeMessageMapper.java
 *
 * Copyright (c) 2014-2017   版权所有
 * xiniunet. All rights reserved.
 *
 * This software is the confidential and proprietary
 * information of  xiniunet.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with xiniunet.
 */
package com.xiniunet.service.railway.dal;
import com.xiniunet.framework.annotation.MyBatisRepository;
import com.xiniunet.framework.security.Passport;
import com.xiniunet.railway.domain.RailwayInfo;
import com.xiniunet.service.railway.po.SafeMessagePO;
import org.apache.ibatis.annotations.Param;
import com.xiniunet.railway.request.*;
import java.util.List;
/**
 * 的数据库操作接口.
 * @author
 */
@MyBatisRepository("RailwaySafeMessageMapper")
public interface SafeMessageMapper extends SafeMessageMapperAuto {
    /**
     * 更新实体对象
     *
     * @param request 请求对象
     * @return 受影响的记录条数
     */
    long update(@Param("request") SafeMessagePO request, @Param("passport") Passport passport);
    /**
     * 模糊搜索对象列表
     *
     * @param request 请求对象
     * @param passport 用户护照
     * @return 实体对象列表集合
     */
    List<SafeMessagePO> search(@Param("request") SafeMessageSearchRequest request, @Param("passport") Passport passport);
    /**
     * 模糊搜索对象列表总数
     *
     * @param request 请求对象
     * @param passport 用户护照
     * @return 实体对象列表集合总数
     */
    long searchCount(@Param("request") SafeMessageSearchRequest request, @Param("passport") Passport passport);
    /**
     * 高级查询对象列表
     *
     * @param request 请求对象
     * @param passport 用户护照
     * @return 实体对象列表集合
     */
    List<SafeMessagePO> find(@Param("request") SafeMessageFindRequest request, @Param("passport") Passport passport);
    /**
     * 高级查询对象列表总数
     *
     * @param request 请求对象
     * @param passport 用户护照
     * @return 实体对象列表集合总数
     */
    long findCount(@Param("request") SafeMessageFindRequest request, @Param("passport") Passport passport);
    /**
     * 高级查询对象列表
     *
     * @param request 请求对象
     * @param passport 用户护照
     * @return 实体对象列表集合
     */
    List<RailwayInfo> railwayLineFind(@Param("request") RailwayLineFindRequest request, @Param("passport") Passport passport);
}