copy from Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/feign/IPlCodeClstemplateClient.java
copy to Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/feign/ICodeOsbtmtypeClient.java
Îļþ´Ó Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/feign/IPlCodeClstemplateClient.java ¸´ÖÆ |
| | |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import com.vci.ubcs.code.entity.CodeClstemplateEntity; |
| | | import com.vci.ubcs.code.entity.CodeOsbtmtypeEntity; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | /** |
| | | * ç¼ç åºå®ä¹-模æ¿ç®¡ç Feignæ¥å£ç±» |
| | | * ä¸å¡ç±»å Feignæ¥å£ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-10 |
| | | * @since 2023-04-13 |
| | | */ |
| | | @FeignClient( |
| | | value = "blade-plCodeClstemplate" |
| | | value = "ubcs-code" |
| | | ) |
| | | public interface IPlCodeClstemplateClient { |
| | | public interface ICodeOsbtmtypeClient { |
| | | |
| | | String API_PREFIX = "/client"; |
| | | String TOP = API_PREFIX + "/top"; |
| | | String TOP = API_PREFIX + "/getOsbtmPage"; |
| | | |
| | | /** |
| | | * è·åç¼ç åºå®ä¹-模æ¿ç®¡çå表 |
| | | * è·åä¸å¡ç±»åå表 |
| | | * |
| | | * @param current é¡µå· |
| | | * @param size é¡µæ° |
| | | * @return BladePage |
| | | */ |
| | | @GetMapping(TOP) |
| | | BladePage<CodeClstemplateEntity> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | BladePage<CodeOsbtmtypeEntity> top(@RequestParam("current") Integer current, @RequestParam("size") Integer size); |
| | | |
| | | } |