wangfei
2024-07-11 9dae9b219bc4eb9c776cc31f2d4d58dbeb190031
hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/downworkstation/controller/DownWorkstationController.java
@@ -80,11 +80,8 @@
    @PostMapping("/updateFlowCardId")
    public ResponseEntity<Map<String, Object>> updateFlowCardId(@RequestBody DownWorkRequest request) {
        // 查询对应 flowCardId 的玻璃信息总数量
        int glassInfoCount = glassInfoService.getGlassInfoCountByFlowCardId(request.getFlowCardId());
        // 更新 down_workstation 表中的总数量
        downWorkstationService.updateFlowCardIdAndCount(request.getFlowCardId(), glassInfoCount, request.getWorkstationId());
        // 绑定架子
        downWorkstationService.updateFlowCardIdAndCount(request.getFlowCardId(),  request.getWorkstationId(), request.getLayer());
        // 构建响应数据
        Map<String, Object> responseData = new HashMap<>();