package com.hz.his.feign.service.platform.compare;
|
|
import com.hx.resultTool.Result;
|
import com.hz.his.vo.compare.CompareDeleteVo;
|
import com.hz.his.vo.compare.CompareListVo;
|
import com.hz.his.vo.compare.CompareVo;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
/**对比照feign
|
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
|
* @author CJH
|
*/
|
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "compare-photo")
|
public interface SComparePhoteService {
|
|
/**列表
|
* @param compareListVo 传参结构
|
* @return
|
*/
|
@PostMapping(value = "/compare/photo/record/list")
|
Result listData(@RequestBody CompareListVo compareListVo);
|
|
|
/**新增对比照
|
* @param compareVo 传参结构
|
* @return
|
*/
|
@PostMapping(value = "/compare/photo/record/add")
|
Result add(@RequestBody CompareVo compareVo);
|
|
/**查看对比照
|
* @param compareListVo 传参结构
|
* @return data转化为CompareDataVo
|
*/
|
@PostMapping(value = "/compare/photo/record/see")
|
Result see(@RequestBody CompareListVo compareListVo);
|
|
/**更新对比照
|
* @param compareVo 传参结构
|
*/
|
@PostMapping(value = "/compare/photo/record/update")
|
Result update(@RequestBody CompareVo compareVo);
|
|
/**删除对比照总记录
|
* @param compareDeleteVo 传参结构
|
* @return
|
*/
|
@PostMapping(value = "/compare/photo/record/delete")
|
Result delete(@RequestBody CompareDeleteVo compareDeleteVo);
|
|
/**删除对比照子单
|
* @param compareDeleteVo 传参结构
|
* @return
|
*/
|
@PostMapping(value = "/compare/photo/record/delete/item")
|
Result deleteItem(@RequestBody CompareDeleteVo compareDeleteVo);
|
|
/**获取用户项目
|
* @param compareListVo 传参结构
|
* @return
|
*/
|
@PostMapping(value = "/compare/photo/record/user/project")
|
Result userProjectSearchList(@RequestBody CompareListVo compareListVo);
|
|
/**获取用户划扣
|
* @param compareListVo 传参结构
|
* @return
|
*/
|
@PostMapping(value = "/compare/photo/record/deduction/project")
|
Result userDeductionSearchList(@RequestBody CompareListVo compareListVo);
|
|
}
|