| | |
| | | package com.example.springboot.controller; |
| | | |
| | | import java.sql.SQLException; |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | import com.example.springboot.service.OutSliceServive; |
| | | import com.example.springboot.service.SpianService; |
| | | import com.example.springboot.service.StorageCageService; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import com.google.gson.JsonArray; |
| | | import com.google.gson.JsonObject; |
| | | |
| | | import cn.hutool.core.lang.Console; |
| | | |
| | | import com.example.springboot.common.Result; |
| | | import com.example.springboot.component.Plchome; |
| | |
| | | public Result UpdateQueue(@RequestBody GlassInfo glassInfo) { |
| | | return storageCageService.UpdateQueue(glassInfo); |
| | | } |
| | | //人工拿走 |
| | | @PostMapping("/ManualTake") |
| | | public Result ManualTake(@RequestBody String glassInfo) { |
| | | return storageCageService.ManualTake(glassInfo); |
| | | } |
| | | //重新测量 |
| | | @PostMapping("/AnewMeasure") |
| | | public Result AnewMeasure(@RequestBody String glassInfo) { |
| | | return storageCageService.AnewMeasure(glassInfo); |
| | | } |
| | | //导入数据 :添加玻璃信息 |
| | | @PostMapping("/importData") |
| | | public Result importData(@RequestBody List<Map> IportDataStr) { |
| | | return storageCageService.AddGlassinfo(IportDataStr); |
| | | } |
| | | } |