package com.hz.his.feign.service.platform;
|
|
import com.hx.resultTool.Result;
|
import com.hz.phis.vo.returnVisitRecord.ReturnVisitRecordInsertVo;
|
import com.hz.phis.vo.returnVisitRecord.ReturnVisitVisitVo;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
/**
|
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
|
*/
|
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-return-visit-record")
|
public interface SPhipReturnVisitRecordService {
|
|
/**
|
* 开放平台-回访记录新增
|
*/
|
@PostMapping(value = "/return/visit/record/v2/add")
|
Result add(@RequestBody ReturnVisitRecordInsertVo dto);
|
|
/**
|
* 开放平台-回访记录修改
|
*/
|
@PostMapping(value = "/return/visit/record/v2/update")
|
Result update(@RequestBody ReturnVisitRecordInsertVo dto);
|
|
|
/**
|
* 开放平台-批量修改回访人
|
*/
|
@PostMapping(value = "/return/visit/record/v2/batch/update/corp/user")
|
Result batchUpdateCorpUser(@RequestBody ReturnVisitRecordInsertVo dto);
|
|
|
/**
|
* 开放平台-批量修改计划时间
|
*/
|
@PostMapping(value = "/return/visit/record/v2/batch/update/plan/time")
|
Result batchUpdatePlanTime(@RequestBody ReturnVisitRecordInsertVo dto);
|
|
/**
|
* 开放平台-取消
|
*/
|
@PostMapping(value = "/return/visit/record/v2/cancel")
|
Result cancelData(@RequestBody ReturnVisitRecordInsertVo dto);
|
|
|
/**
|
* 开放平台-批量取消
|
*/
|
@PostMapping(value = "/return/visit/record/v2/batch/cancel")
|
Result batchCancelData(@RequestBody ReturnVisitRecordInsertVo dto);
|
|
/**
|
* 开放平台-删除
|
*/
|
@PostMapping(value = "/return/visit/record/v2/delete")
|
Result delete(@RequestBody ReturnVisitRecordInsertVo dto);
|
|
/**
|
* 开放平台-批量删除
|
*/
|
@PostMapping(value = "/return/visit/record/v2/batch/delete")
|
Result batchDeleteRecord(@RequestBody ReturnVisitRecordInsertVo dto);
|
|
/**
|
* 开放平台-回访
|
*/
|
@PostMapping(value = "/return/visit/record/v2/access")
|
Result access(@RequestBody ReturnVisitVisitVo dto);
|
|
}
|