|
|
|
@ -831,7 +831,9 @@ public class IWCInterfaceServiceImpl implements IWCSInterfaceService {
|
|
|
|
|
}
|
|
|
|
|
workOrder.setUploadTime(nowTime);
|
|
|
|
|
mesReportWorkMapper.updateSyncSapStatus(workOrder);
|
|
|
|
|
//mesReportWorkMapper.updateOrderWorkStatus(workOrder);
|
|
|
|
|
//如果是暂停的工单报工,向sap报工结束后,工单状态->w3
|
|
|
|
|
workOrder.setStatus("w3");
|
|
|
|
|
mesReportWorkMapper.updateOrderWorkStatus(workOrder);
|
|
|
|
|
return r;
|
|
|
|
|
// return R.ok();//测试
|
|
|
|
|
}
|
|
|
|
@ -892,7 +894,9 @@ public class IWCInterfaceServiceImpl implements IWCSInterfaceService {
|
|
|
|
|
}
|
|
|
|
|
workOrder.setUploadTime(nowTime);
|
|
|
|
|
mesReportWorkMapper.updateSyncSapStatus(workOrder);
|
|
|
|
|
|
|
|
|
|
//如果是暂停的工单报工,向sap报工结束后,工单状态->w3
|
|
|
|
|
workOrder.setStatus("w3");
|
|
|
|
|
mesReportWorkMapper.updateOrderWorkStatus(workOrder);
|
|
|
|
|
return r;
|
|
|
|
|
// return R.ok();//测试
|
|
|
|
|
}
|
|
|
|
|