package com.sinosig.web.module.feign;

import java.util.List;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.sinosig.web.module.domain.SJZDX;
import com.sinosig.web.module.filter.*;


public interface SJZDXFeignClient {



	@RequestMapping(method = RequestMethod.POST, value = "/web/sjzdxes")
    public SJZDX create(@RequestBody SJZDX sjzdx) ;

	@RequestMapping(method = RequestMethod.GET, value = "/web/sjzdxes/{sjzdx_id}")
    public SJZDX get(@PathVariable("sjzdx_id") String sjzdx_id) ;

	@RequestMapping(method = RequestMethod.DELETE, value = "/web/sjzdxes/{sjzdx_id}")
    public Boolean remove(@PathVariable("sjzdx_id") String sjzdx_id) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/sjzdxes/checkkey")
    public Boolean checkKey(@RequestBody SJZDX sjzdx) ;

	@RequestMapping(method = RequestMethod.PUT, value = "/web/sjzdxes/{sjzdx_id}")
    public SJZDX update(@PathVariable("sjzdx_id") String sjzdx_id, @RequestBody SJZDX sjzdx) ;

	@RequestMapping(method = RequestMethod.GET, value = "/web/sjzdxes/{sjzdx_id}/getdraft")
    public SJZDX getDraft(@PathVariable("sjzdx_id") String sjzdx_id, @RequestBody SJZDX sjzdx) ;

	@RequestMapping(method = RequestMethod.POST, value = "/web/sjzdxes/{sjzdx_id}/save")
    public SJZDX save(@PathVariable("sjzdx_id") String sjzdx_id, @RequestBody SJZDX sjzdx) ;

    @RequestMapping(method= RequestMethod.GET , value="/web/sjzdxes/fetchclzl")
	public Page<SJZDX> fetchCLZL(SJZDXSearchContext searchContext) ;

    @RequestMapping(method= RequestMethod.GET , value="/web/sjzdxes/fetchywly")
	public Page<SJZDX> fetchYWLY(SJZDXSearchContext searchContext) ;

    @RequestMapping(method= RequestMethod.GET , value="/web/sjzdxes/fetchcldl")
	public Page<SJZDX> fetchCLDL(SJZDXSearchContext searchContext) ;

    @RequestMapping(method= RequestMethod.GET , value="/web/sjzdxes/fetchdefault")
	public Page<SJZDX> fetchDefault(SJZDXSearchContext searchContext) ;
}
