|
|
@@ -902,17 +902,17 @@ public class MesProductRecordService extends CrudService<MesProductRecordDao, Me
|
|
|
oprno = CommonUitl.formatOprno(oprno);
|
|
|
sn = sn.trim();
|
|
|
|
|
|
- List<String> oprnos=new ArrayList(Arrays.asList(new String[]{"OP200","OP210"}));
|
|
|
- if(!oprnos.contains(oprno)){
|
|
|
- throw new ServiceException(text("工位错误!"));
|
|
|
- }
|
|
|
+// List<String> oprnos=new ArrayList(Arrays.asList(new String[]{"OP200","OP210"}));
|
|
|
+// if(!oprnos.contains(oprno)){
|
|
|
+// throw new ServiceException(text("工位错误!"));
|
|
|
+// }
|
|
|
|
|
|
List<ParamsResp> paramsResps = new ArrayList<>();
|
|
|
- ParamsResp paramsResp1 = new ParamsResp();
|
|
|
- paramsResp1.setCraft("400001");
|
|
|
- paramsResp1.setResult("OK");
|
|
|
- paramsResp1.setVal(userCode);
|
|
|
- paramsResps.add(paramsResp1); // 绑定用户
|
|
|
+// ParamsResp paramsResp1 = new ParamsResp();
|
|
|
+// paramsResp1.setCraft("400001");
|
|
|
+// paramsResp1.setResult("OK");
|
|
|
+// paramsResp1.setVal(userCode);
|
|
|
+// paramsResps.add(paramsResp1); // 绑定用户
|
|
|
List<BindMaterialResp> bmlists = new ArrayList<>();
|
|
|
updateRecordResult(sn, oprno, craft, materielSn, content, userCode, paramsResps,lineSn,true,bmlists);
|
|
|
|