wangrenhuang
2023-06-25 1dc7fbb61a5582c18ee383fcb26e58cf01bbbef8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.hz.his.feign.service.sync;
 
import com.hx.resultTool.Result;
import com.hz.his.dto.sync.SyncUserCradDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
 
/**
 * @Author
 */
@FeignClient(name="synchro-service",path = "/his_synchro",contextId = "synchro-userCrad")
public interface SyncUserCardService {
 
 
    /**
     * 修改领健用户卡包为已作废状态
     * 注意不要随意调用,需要用到先和同步中心商量
     * @param syncUserCradDto
     * @return
     */
    @PostMapping(value = "/sync/user/card/updateUserCard")
    Result updateUserCard(SyncUserCradDto syncUserCradDto);
 
    /**
     * 同步用户卡包
     * @param syncUserCradDto
     * @return
     */
    @PostMapping(value = "/sync/user/card/list")
    Result list(SyncUserCradDto syncUserCradDto);
}