¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeAllCodeVO; |
| | | import com.vci.ubcs.code.vo.pagemodel.CodeSerialAlgorithmVO; |
| | | import io.swagger.annotations.Api; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.vci.ubcs.code.service.ICodeSerialAlgorithmService; |
| | | |
| | | /** |
| | | * å
¨é¨ç å¼ æ§å¶å¨ |
| | | * |
| | | * @author ludc |
| | | * @since 2023-04-03 |
| | | */ |
| | | @RestController |
| | | @AllArgsConstructor |
| | | @RequestMapping("/codeSerialAlgorithmController") |
| | | @Api(value = "èªå®ä¹æµæ°´", tags = "èªå®ä¹æµæ°´ç®æ³") |
| | | public class CodeSerialAlgorithmController extends BladeController { |
| | | /** |
| | | * ç®æ³æå¡ |
| | | */ |
| | | @Autowired |
| | | private ICodeSerialAlgorithmService algorithmService; |
| | | |
| | | /** |
| | | * ç®æ³çå表 |
| | | * @return ç®æ³çä¿¡æ¯ |
| | | */ |
| | | @GetMapping("/gridCodeSerialAlgorithm") |
| | | public R<IPage<CodeSerialAlgorithmVO>> gridCodeSerialAlgorithm(){ |
| | | IPage<CodeSerialAlgorithmVO> pages= algorithmService.gridSerialAlgorithm(); |
| | | return R.data(pages); |
| | | } |
| | | } |