|
|
@@ -162,11 +162,11 @@ public class MesRepairQualityController extends BaseController {
|
|
|
resp.setMessage("参数错误");
|
|
|
return resp;
|
|
|
}
|
|
|
- String mesRepairQuality_image = req.getParameter("mesRepairQuality_image");
|
|
|
- if(StringUtils.isEmpty(mesRepairQuality_image)){
|
|
|
- resp.setMessage("图片不能为空");
|
|
|
- return resp;
|
|
|
- }
|
|
|
+// String mesRepairQuality_image = req.getParameter("mesRepairQuality_image");
|
|
|
+// if(StringUtils.isEmpty(mesRepairQuality_image)){
|
|
|
+// resp.setMessage("图片不能为空");
|
|
|
+// return resp;
|
|
|
+// }
|
|
|
MesProduct mesProduct = new MesProduct();
|
|
|
mesProduct.setSn(sn);
|
|
|
MesProduct pd = mesProductService.findInfo(mesProduct);
|
|
|
@@ -218,6 +218,15 @@ public class MesRepairQualityController extends BaseController {
|
|
|
}else{
|
|
|
pp.setContent("OK");
|
|
|
mesProductRecordService.save(pp);
|
|
|
+
|
|
|
+ // 返回工位改成UDF
|
|
|
+ MesProductRecord mesProductRecord2 = new MesProductRecord();
|
|
|
+ mesProductRecord2.setSn(mesRepair.getSn());
|
|
|
+ mesProductRecord2.setOprno(mesRepair.getReturnOprno());
|
|
|
+ mesProductRecord2.setCraft("100000");
|
|
|
+ MesProductRecord pp2 = mesProductRecordService.findInfo(mesProductRecord2);
|
|
|
+ pp2.setContent("UDF");
|
|
|
+ mesProductRecordService.save(pp2);
|
|
|
}
|
|
|
|
|
|
if(result.equals("1")){ // 返修OK
|