|
|
|
@ -610,11 +610,12 @@ public class PlcService {
|
|
|
|
order.setIntoStockTime(LocalDateTime.now());
|
|
|
|
order.setIntoStockTime(LocalDateTime.now());
|
|
|
|
order.setRow1(row);
|
|
|
|
order.setRow1(row);
|
|
|
|
order.setColumn1(column);
|
|
|
|
order.setColumn1(column);
|
|
|
|
if (oldOrder != null){
|
|
|
|
// if (oldOrder != null){
|
|
|
|
orderMapper.updateById(order);
|
|
|
|
// orderMapper.updateById(order);
|
|
|
|
}else{
|
|
|
|
// }else{
|
|
|
|
|
|
|
|
// orderMapper.insert(order);
|
|
|
|
|
|
|
|
// }
|
|
|
|
orderMapper.insert(order);
|
|
|
|
orderMapper.insert(order);
|
|
|
|
}
|
|
|
|
|
|
|
|
cameraCapture(cameraId,false,0l,path);
|
|
|
|
cameraCapture(cameraId,false,0l,path);
|
|
|
|
return configProperties.getIP()+":9007/api/pic/"+path;
|
|
|
|
return configProperties.getIP()+":9007/api/pic/"+path;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|