提交 c4c3ce23 编写于 作者: ibizdev's avatar ibizdev

ibizdev提交

上级 18ff8afd
...@@ -16,10 +16,6 @@ import com.ibiz.util.SearchContext; ...@@ -16,10 +16,6 @@ import com.ibiz.util.SearchContext;
*/ */
public interface healthcheckFeignClient { public interface healthcheckFeignClient {
@RequestMapping(method = RequestMethod.POST, value = "/htsc-pos-nms/api/healthchecks/{healthcheckid}/test")
public healthcheckImpl test(@PathVariable("healthcheckid") String healthcheckid,@RequestBody healthcheckImpl healthcheck);
@RequestMapping(method = RequestMethod.GET, value = "/htsc-pos-nms/api/healthchecks/select") @RequestMapping(method = RequestMethod.GET, value = "/htsc-pos-nms/api/healthchecks/select")
public Page<healthcheckImpl> select(); public Page<healthcheckImpl> select();
......
...@@ -74,13 +74,6 @@ public class healthcheckClientServiceImpl implements IhealthcheckClientService { ...@@ -74,13 +74,6 @@ public class healthcheckClientServiceImpl implements IhealthcheckClientService {
} }
public void test(Ihealthcheck healthcheck){
Ihealthcheck clientModel = healthcheckFeignClient.test(healthcheck.getHEALTHCHECKID(),(healthcheckImpl)healthcheck) ;
BeanCopier copier=BeanCopier.create(clientModel.getClass(), healthcheck.getClass(), false);
copier.copy(clientModel, healthcheck, null);
}
public Page<Ihealthcheck> select(SearchContext context){ public Page<Ihealthcheck> select(SearchContext context){
return null ; return null ;
} }
......
...@@ -20,8 +20,6 @@ public interface IhealthcheckClientService{ ...@@ -20,8 +20,6 @@ public interface IhealthcheckClientService{
public Ihealthcheck createModel() ; public Ihealthcheck createModel() ;
public void test(Ihealthcheck healthcheck);
public Page<Ihealthcheck> select(SearchContext context); public Page<Ihealthcheck> select(SearchContext context);
public void getDraft(Ihealthcheck healthcheck); public void getDraft(Ihealthcheck healthcheck);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册