package com.mes.glassinfo.controller; import com.mes.glassinfo.entity.GlassInfo; import com.mes.glassinfo.service.GlassInfoService; import com.mes.utils.Result; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.RestController; import java.util.List; /** *
* 前端控制器 *
* * @author zhoush * @since 2024-04-07 */ @Api(description = "玻璃信息小片") @RestController @RequestMapping("/glassInfo") public class GlassInfoController { @Autowired private GlassInfoService glassInfoService; @ApiOperation("根据玻璃小片ID查询 玻璃数据:参数(玻璃ID)") @PostMapping("/selectId") @ResponseBody public Result selectId(String ProcessId) { List