package com.mes.controller; import com.mes.mapper.SelectInfo; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import com.mes.common.Result; import com.mes.entity.Tempered; import com.mes.service.pp.SelectdppService; import com.mes.service.hangzhoumes.*; @RestController @RequestMapping("/TidyUpGlassModule") // TidyUpGlassModule 理片模块 public class TidyUpGlassModuleController { @Autowired private SelectdppService SelectppService; @Autowired private hangzhoumesService hangzhoumesService; @GetMapping("/SelectTerritoryInfo") // 查询钢化版图信息-根据 工程号 @ResponseBody public Result SelectTerritoryInfo(@RequestParam(name = "ProcessId", required = false) String ProcessId) { List h = SelectppService.SelectTemperedTerritory(ProcessId); return Result.seccess(h); } @GetMapping("/CutTerritory") // 查询切割版图信息-根据 工程号 @ResponseBody public Result CutTerritory(String ProcessId) { List h = SelectppService.SelectCutTerritory(ProcessId); return Result.seccess(h); } @GetMapping("/SelectCutTerritory") // 识别显示 当前版图 @ResponseBody public Result SelectCutTerritory(String ProcessId) { List h = SelectppService.SelectCutTerritory("P24032508"); return Result.seccess(h); } @GetMapping("/SelectCageInfo") // 查询笼内信息 @ResponseBody public Result SelectCageInfo(String ProcessId) { List h = SelectppService.SelectCutTerritory("P24032508"); return Result.seccess(h); } @GetMapping("/SelectEdgTask") //磨边任务 @ResponseBody public Result SelectEdgTask(String ProcessId) { List EdgTasks = hangzhoumesService.SelectEdgInfo("1"); return Result.seccess(EdgTasks); } }