copy from Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/feign/PlCodeClstemplateClient.java
copy to Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/feign/CodeOsbtmtypeClient.java
Îļþ´Ó Source/UBCS/ubcs-service/ubcs-code/src/main/java/com/vci/ubcs/code/feign/PlCodeClstemplateClient.java ¸´ÖÆ |
| | |
| | | */ |
| | | package com.vci.ubcs.code.feign; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.mp.support.BladePage; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import com.vci.ubcs.code.entity.CodeClstemplateEntity; |
| | | import com.vci.ubcs.code.service.ICodeClstemplateService; |
| | | import com.vci.ubcs.code.entity.CodeOsbtmtypeEntity; |
| | | import com.vci.ubcs.code.service.ICodeOsbtmtypeService; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | /** |
| | | * ç¼ç åºå®ä¹-模æ¿ç®¡ç Feignå®ç°ç±» |
| | | * ä¸å¡ç±»å Feignå®ç°ç±» |
| | | * |
| | | * @author yuxc |
| | | * @since 2023-04-10 |
| | | * @since 2023-04-13 |
| | | */ |
| | | @ApiIgnore() |
| | | @RestController |
| | | @AllArgsConstructor |
| | | public class PlCodeClstemplateClient implements IPlCodeClstemplateClient { |
| | | public class CodeOsbtmtypeClient implements ICodeOsbtmtypeClient { |
| | | |
| | | private final ICodeClstemplateService plCodeClstemplateService; |
| | | private final ICodeOsbtmtypeService PLCodeOsbtmtypeService; |
| | | |
| | | @Override |
| | | @GetMapping(TOP) |
| | | public BladePage<CodeClstemplateEntity> top(Integer current, Integer size) { |
| | | public BladePage<CodeOsbtmtypeEntity> top(Integer current, Integer size) { |
| | | Query query = new Query(); |
| | | query.setCurrent(current); |
| | | query.setSize(size); |
| | | // IPage<CodeClstemplateEntity> page = service.page(Condition.getPage(query)); |
| | | // return BladePage.of(page); |
| | | // IPage<CodeOsbtmtypeEntity> page = service.page(Condition.getPage(query)); |
| | | return null; |
| | | // return BladePage.of(page); |
| | | } |
| | | |
| | | } |