|
|
@@ -615,7 +615,8 @@ public class MesProductRecordService extends CrudService<MesProductRecordDao, Me
|
|
|
}
|
|
|
|
|
|
// 获取当前工位的设备及工装编号
|
|
|
- MesLineProcess mesLineProcess1 = mesLineProcessService.findInfoByOprnoLineSn(oldOprno,lineSn);
|
|
|
+ // 按主工位号查(OP170B → OP170),多枪工位在 mes_line_process 中只登记主工位,带枪号会查不到报"工位不存在!"
|
|
|
+ MesLineProcess mesLineProcess1 = mesLineProcessService.findInfoByOprnoLineSn(oprno,lineSn);
|
|
|
if(ObjectUtils.isEmpty(mesLineProcess1)){
|
|
|
throw new ServiceException(text("工位不存在!"));
|
|
|
}
|