|
@@ -111,6 +111,12 @@ public class TmstruckTotalResultServiceImpl implements ITmstruckTotalResultServi
|
|
|
serachMap.put("resultTotalId",maxId);
|
|
|
serachMap.put("resultTotalIdOld",resultTotalIdOld);
|
|
|
tmstruckWeightResultMapper.copyQmsResult(serachMap);
|
|
|
+ }else{
|
|
|
+ //未进厂,状态为待接收
|
|
|
+ Map<String,Object> orderMap=new HashMap<>();
|
|
|
+ orderMap.put("orderId",orderId);
|
|
|
+ orderMap.put("orderStatus",4);
|
|
|
+ tmstruckWeightResultMapper.updateOrderStatus(orderMap);
|
|
|
}
|
|
|
return maxId.intValue();
|
|
|
}
|