PickUpPointManager.java 2.67 KB
package com.diligrp.website.manager;

import java.util.List;
import java.util.Map;

import com.diligrp.website.domain.PickUpPointDomain;
import com.diligrp.website.util.dao.BaseQuery;

/**
 * <B>Description</B> TODO <br />
 * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />
 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />
 * <B>Company</B> 地利集团
 * @createTime 2014年8月13日 下午4:58:00
 * @author liujie
 */
public interface PickUpPointManager {

    List<PickUpPointDomain> getPickInfo(BaseQuery bq) throws Exception;

    Integer getCountPickInfo(BaseQuery bq) throws Exception;

    boolean savePickUpInfo(PickUpPointDomain pickUpPointDomain);

    boolean modifyPickUpInfo(PickUpPointDomain pickUpPointDomain)
            throws Exception;

    boolean modifyPickUpInfoDeafult(Long id) throws Exception;

    PickUpPointDomain getPickUpPointDomainInfo(Long id) throws Exception;

    List<PickUpPointDomain> getRelationPickInfo(Long id) throws Exception;

    List<PickUpPointDomain> getNotMarketPickInfo() throws Exception;

    boolean modifyRelationPoint(List<Long> list, Long pickId) throws Exception;

    /**
     * 
     * this method is 得到所有是市场的提货点
     * @return
     * @createTime 2014年8月21日 上午10:45:15
     * @author liujie
     */
    List<PickUpPointDomain> getIsMarketPickUpInfo() throws Exception;
    /**
     * 
     * this method is 得到所有不是市场的提货点信息
     * @return
     * @throws Exception
     * @createTime 2014年8月22日 上午10:23:22
     * @author liujie
     */
    List<PickUpPointDomain> getIsNotMarketPickUpInfo() throws Exception;
    /**
     * 
     * this method is 得到所有提货点信息
     * @return
     * @throws Exception
     * @createTime 2014年8月22日 上午10:23:45
     * @author liujie
     */
    List<PickUpPointDomain> getAllMarketPickUpInfo() throws Exception;
    /**
     * 
     * this method is 根据提货点编码查询提货点信息
     * @param code
     * @return
     * @throws Exception
     * @createTime 2014年8月25日 上午11:50:35
     * @author liujie
     */
    PickUpPointDomain getCodeByPickUpInfo(String code)throws Exception;
    PickUpPointDomain getDefaultPickUpInfo() throws Exception;

    List<PickUpPointDomain> getPickUpInfoByName(String pickName);

    List<PickUpPointDomain> getRecommendPickUp();

    List<PickUpPointDomain> getPickUpListByCityId(Long cityId);

    boolean configRecommend(PickUpPointDomain pickUpPointDomain) throws Exception;

    List<PickUpPointDomain> getPickUpInfoByCityName(String cityName);

    List<PickUpPointDomain> getAllPickUpListByCityId(Long cityId);
}