|
|
@@ -13,6 +13,7 @@ import java.util.List;
|
|
13
|
13
|
|
|
14
|
14
|
import javax.annotation.Resource;
|
|
15
|
15
|
|
|
|
16
|
+import com.unissoft.utils.TeDataUtils;
|
|
16
|
17
|
import org.slf4j.Logger;
|
|
17
|
18
|
import org.slf4j.LoggerFactory;
|
|
18
|
19
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -52,6 +53,7 @@ public class DataController {
|
|
52
|
53
|
@PostMapping("/equipmentTestingEnd")
|
|
53
|
54
|
public String equipmentTesting(@RequestBody TeData teData) {
|
|
54
|
55
|
logger.info("接收到硬件的数据为{}", teData);
|
|
|
56
|
+ // TeDataUtils.teData(teData.getRotationxy());
|
|
55
|
57
|
teData.setEtime(new Date());
|
|
56
|
58
|
//根据唯一的taskId(仓房id+自然增长id)获取仓房id
|
|
57
|
59
|
String houseId = teData.getTaskID().split(",")[0];
|