|
|
@@ -982,8 +982,9 @@ public class MesProductRecordController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if(CommonUitl.formatOprno(oldOprno).equals("OP300")){ //底护板安装
|
|
|
- if(res.equals("UD")){ // 检查是否已绑定底护板
|
|
|
+ if(CommonUitl.formatOprno(oldOprno).equals("OP310")){ //成品气密
|
|
|
+ if(res.equals("UD")){
|
|
|
+ // 检查是否已绑定底护板(从OP300挪到OP310检查)
|
|
|
String checkDhb = Global.getConfig("mes.dhb.check");
|
|
|
if(checkDhb.equals("1")){
|
|
|
MesProductDhb mesProductDhb = new MesProductDhb();
|
|
|
@@ -993,11 +994,8 @@ public class MesProductRecordController extends BaseController {
|
|
|
return "RSDH"; // 未绑定底护板
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
- if(CommonUitl.formatOprno(oldOprno).equals("OP310")){ //成品气密
|
|
|
- if(res.equals("UD")){ // 检查底护板安装(OP300)到成品气密(OP310)间隔是否超过两小时
|
|
|
+ // 检查底护板安装(OP300)到成品气密(OP310)间隔是否超过两小时
|
|
|
MesDeviceTime op300Time = mesDeviceTimeService.getInfoByOprnoAndSnAndCate("OP300A",sn,lineSn);
|
|
|
if(op300Time == null){
|
|
|
op300Time = mesDeviceTimeService.getInfoByOprnoAndSnAndCate("OP300",sn,lineSn);
|