¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.vci.ubcs.code.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
| | | import com.vci.ubcs.code.constant.MdmBtmTypeConstant; |
| | | import com.vci.ubcs.code.service.ICodeReferBtmTypeService; |
| | | import com.vci.ubcs.omd.feign.IBtmTypeClient; |
| | | import com.vci.ubcs.omd.vo.AttributeVO; |
| | | import com.vci.ubcs.omd.vo.BtmTypeAttributeVO; |
| | | import com.vci.ubcs.omd.vo.BtmTypeVO; |
| | | import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; |
| | | import com.vci.ubcs.starter.web.pagemodel.DataGrid; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springblade.core.launch.constant.AppConstant; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author ludc |
| | | * @date 2023/6/1 18:36 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/referBtmTypeController") |
| | | @Api(value = "ç¼ç è§å管ç-å¼ç¨ç 段&&屿§ç 段-ä¸å¡ç±»åæ¥è¯¢", tags = "ç¼ç è§å管ç-å¼ç¨ç 段-ä¸å¡ç±»åæ¥è¯¢") |
| | | public class CodeReferBtmTypeController { |
| | | |
| | | @Resource |
| | | private ICodeReferBtmTypeService codeReferBtmTypeService; |
| | | |
| | | /** |
| | | * è·åä¸å¡ç±»åå表 |
| | | * @param baseQueryObject æ¥è¯¢æ¡ä»¶ |
| | | * @return å表çå
容 |
| | | */ |
| | | @GetMapping("/referDataGrid") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "è·åä¸å¡ç±»åå表", notes = "baseQueryObject") |
| | | public R<Page<BtmTypeVO>> referDataGrid(BaseQueryObject baseQueryObject){ |
| | | return R.data(codeReferBtmTypeService.referDataGrid(baseQueryObject)); |
| | | } |
| | | |
| | | @GetMapping(value = "/gridAttributesByBtmId") |
| | | @ApiOperationSupport(order = 1) |
| | | @ApiOperation(value = "è·åä¸å¡ç±»åå
å«ç屿§ï¼ä¸å页", notes = "baseQueryObject") |
| | | public R<Page<BtmTypeAttributeVO>> gridAttributesByBtmId(BaseQueryObject baseQueryObject){ |
| | | return R.data(codeReferBtmTypeService.gridAttributesByBtmId(baseQueryObject)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |