NoticePersonMapper.java 1.32 KB
/*
 * @(#)ApiLogMapper.java
 *
 * Copyright (c) 2014-2017  xiniunet 版权所有
 * 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.service.railway.po.NoticePersonPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 远程调用日志的数据库操作接口.
 *
 * @author xiniunet
 */
@MyBatisRepository("NoticePersonMapper")
public interface NoticePersonMapper {

    /**按路线*/
    List<NoticePersonPO> queryPersonByLine(@Param("objType1") String objType1,
                                              @Param("objId1") String objId1
    );

    List<NoticePersonPO> queryPersonByStation(@Param("objType1") String objType1,
                                              @Param("objId1") String objId1,
                                              @Param("objType2") String objType2,
                                              @Param("objId2") String objId2
    );

    List<NoticePersonPO> queryPersonByHotline();
}