| | |
| | | |
| | | import com.example.springboot.mapper.HomeMapper; |
| | | import com.example.springboot.service.HomeService; |
| | | import com.example.springboot.service.SpianService; |
| | | import com.example.springboot.common.Result; |
| | | import com.example.springboot.entity.StorageCage; |
| | | import com.example.springboot.entity.alarmmg; |
| | |
| | | |
| | | @Autowired |
| | | HomeService storageRackService; |
| | | |
| | | @Autowired |
| | | SpianService spianService; |
| | | |
| | | @GetMapping("/load") |
| | | public Result selectAll(){ |
| | |
| | | } |
| | | |
| | | @GetMapping("/Addglassid") |
| | | public Result Addglassid(Integer glassid){ |
| | | public Result Addglassid(short glassid){ |
| | | Map<String, Object> map = new HashMap<>(); |
| | | short taskno=homeMapper.SelectOutTask(); |
| | | if(taskno>0){ |
| | |
| | | }else{ |
| | | map.put("message2","200"); |
| | | //调用伍上片函数 |
| | | |
| | | spianService.selectAll(glassid); |
| | | } |
| | | return Result.success(map); |
| | | } |