|
|
@@ -323,12 +323,12 @@ public class StepWorkServiceImpl implements StepWorkService {
|
|
|
return StepWorkApiResponse.failRsp(400,"测试结果为不合格,不良代码(failureCode)值必填!");
|
|
|
}
|
|
|
}
|
|
|
- if(StringUtil.hasText(failureCode)) {
|
|
|
+ /*if(StringUtil.hasText(failureCode)) {
|
|
|
String bccode = baseDao.getJdbcTemplate().queryForObject("select max(bc_code) from badcode where bc_code=?", String.class, failureCode);//oErrMessage = "不良代码"+BadCode[i]+"不存在";
|
|
|
if (null == bccode) {
|
|
|
throw new ApiStepWorkException(new StepWorkApiResult(false, 400, "测试不良代码:" + failureCode + "在MES系统不存在!"));
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
String usercode = String.valueOf(request.getSession().getAttribute("usercode"));
|
|
|
//工序校验
|
|
|
Map<String,Object> remap = checkStep(macode,sccode.toString(),sncode.toString(),usercode,stepcode.toString());
|