|
|
|
|
@ -10,6 +10,7 @@ import com.zhehekeji.web.service.PlcService;
|
|
|
|
|
import com.zhehekeji.web.service.interfaces.RfidLogService;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
@ -21,6 +22,7 @@ import java.util.*;
|
|
|
|
|
@Api(tags = "对外接口")
|
|
|
|
|
@RequestMapping("/videocc")
|
|
|
|
|
@RestController
|
|
|
|
|
@Slf4j
|
|
|
|
|
public class VideoccController {
|
|
|
|
|
@Resource
|
|
|
|
|
private RfidLogService rfidLogService;
|
|
|
|
|
@ -38,9 +40,10 @@ public class VideoccController {
|
|
|
|
|
if(videocc.getDetails()!=null && videocc.getDetails().size()>0){
|
|
|
|
|
for(String detail:videocc.getDetails().keySet()){
|
|
|
|
|
list.add(detail);
|
|
|
|
|
list.addAll(videocc.getDetails().get(detail));
|
|
|
|
|
list.addAll(videocc.getDetails().get(detail));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
log.info("rfid推送信息:"+list);
|
|
|
|
|
plcService.wmsTrayCodeMapByTask.put(orderNum,list);
|
|
|
|
|
VideoccResponse videoccResponse = new VideoccResponse();
|
|
|
|
|
videoccResponse.setMsg("成功");
|
|
|
|
|
|