|
|
@@ -4564,7 +4564,7 @@ public class MesProductRecordController extends BaseController {
|
|
|
mesProductRecordService.updateRecordResult(request, sn, oldOprno, "100000", "", "OK", userCode,
|
|
|
new ArrayList<>(), lineSn, false, new ArrayList<>(), isRepair);
|
|
|
} catch (Exception e) {
|
|
|
- logger.error("OP145A scan result save failed for " + sn, e);
|
|
|
+ logger.error("Scan result save failed, oprno=" + oldOprno + ", sn=" + sn, e);
|
|
|
resp.setErrMsg("工位结果保存失败");
|
|
|
return resp;
|
|
|
}
|
|
|
@@ -4627,7 +4627,8 @@ public class MesProductRecordController extends BaseController {
|
|
|
|
|
|
|
|
|
private static boolean usesScanResult(String lineSn, String oprno) {
|
|
|
- return "CZ060".equals(lineSn) && "OP145A".equals(oprno);
|
|
|
+ return "CZ060".equals(lineSn)
|
|
|
+ && ("OP095A".equals(oprno) || "OP095B".equals(oprno) || "OP145A".equals(oprno));
|
|
|
}
|
|
|
|
|
|
@PostMapping(value = "qmresult")
|