DeliveryTimeRPC.java 1.25 KB
package com.diligrp.mobsite.getway.rpc;

import com.b2c.myapp.common.api.deliveryTime.input.DeliveryTimeListInput;
import com.b2c.myapp.common.api.deliveryTime.input.DeliveryTimeSaveInput;
import com.b2c.myapp.common.api.deliveryTime.output.DeliveryTimeOutput;

import java.util.List;

/**
 * Created by jiangchengyong on 2017/1/18.
 */
public interface DeliveryTimeRPC {
    /**
     * @comment 创建店铺送货时间段
     * @param deliveryTimeSaveInput
     * @return BaseOutput<Integer>
     * @author kelan
     * @time 2016/11/30 16:23
     */
    public DeliveryTimeOutput createShopDeliveryTime(DeliveryTimeSaveInput deliveryTimeSaveInput);
    /**
     * @comment 删除店铺送货时间段
     * @param deliveryTimeId 送货时间段id
     * @return BaseOutput<Integer>
     * @author kelan
     * @time 2016/11/30 16:25
     */
    public Boolean deleteShopDeliveryTime(Long... deliveryTimeId);
    /**
     * @comment 查找店铺送货时间段
     * @param deliveryTimeListInput 店铺送货时间段对象
     * @return BaseOutput<List<DeliveryTimeOutput>> 店铺送货时间段列表
     * @author kelan
     * @time 2016/11/30 16:26 
     */
    public List<DeliveryTimeOutput> queryShopDeliveryTime(DeliveryTimeListInput deliveryTimeListInput);
}