RemoteCycleCountPreferenceService.java 989 Bytes
package com.huaheng.config.api;

import com.huaheng.common.core.constant.ServiceNameConstants;
import com.huaheng.config.api.domain.CycleCountPreference;
import com.huaheng.config.api.factory.RemoteCycleCountPreferenceFallFactory;
import com.huaheng.config.api.factory.RemoteFilterConfigDetailFallFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "RemoteCycleCountPreferenceService", value = ServiceNameConstants.CONFIG_SERVICE, fallbackFactory = RemoteCycleCountPreferenceFallFactory.class)
public interface RemoteCycleCountPreferenceService {

    @PostMapping("/cycleCountPreference/getByCodeAndWarehouse")
    CycleCountPreference getByCodeAndWarehouse(@RequestParam(value = "warehouseCode") String warehouseCode, @RequestParam(value = "code") String code);




}