|
@@ -1691,7 +1691,7 @@ public class MesProductRecordController extends BaseController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 旧模板补建 OP370 后 serial 可能错乱,前站依赖 serial 会漏检;
|
|
// 旧模板补建 OP370 后 serial 可能错乱,前站依赖 serial 会漏检;
|
|
|
- // 仅当本工位 OP370 仍为 UDF 时,按工位号显式校验 OP360 是否 NG。
|
|
|
|
|
|
|
+ // 仅当本工位 OP370 仍为 UDF 时,按工位号显式校验 OP360:NG / UDF 均拦截。
|
|
|
String curOprnoFor360 = CommonUitl.formatOprno(oldOprno);
|
|
String curOprnoFor360 = CommonUitl.formatOprno(oldOprno);
|
|
|
if ("OP370".equals(curOprnoFor360)) {
|
|
if ("OP370".equals(curOprnoFor360)) {
|
|
|
String op370Content = null;
|
|
String op370Content = null;
|
|
@@ -1704,8 +1704,13 @@ public class MesProductRecordController extends BaseController {
|
|
|
op360Content = mpr.getContent();
|
|
op360Content = mpr.getContent();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if ("UDF".equals(op370Content) && "NG".equals(op360Content)) {
|
|
|
|
|
- return "360QN";
|
|
|
|
|
|
|
+ if ("UDF".equals(op370Content)) {
|
|
|
|
|
+ if ("NG".equals(op360Content)) {
|
|
|
|
|
+ return "360QN";
|
|
|
|
|
+ }
|
|
|
|
|
+ if ("UDF".equals(op360Content)) {
|
|
|
|
|
+ return "360QD";
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|