|
|
@ -217,7 +217,7 @@ public class MesSpotCheckOrderService implements IMesSpotCheckOrderService {
|
|
|
|
throw new ImppBusiException(String.format("点检单明细未填写完成,请继续质检", result.getSpotCheckRealValue()));
|
|
|
|
throw new ImppBusiException(String.format("点检单明细未填写完成,请继续质检", result.getSpotCheckRealValue()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (result.getIsTolerance() != MesCommonConstant.TRUE_INTEGER && orderResult == MesExtEnumUtil.SPOT_CHECK_ORDER_RESULT.OK.getValue()) {
|
|
|
|
if (result.getIsTolerance() == MesCommonConstant.TRUE_INTEGER && orderResult == MesExtEnumUtil.SPOT_CHECK_ORDER_RESULT.OK.getValue()) {
|
|
|
|
orderResult = MesExtEnumUtil.SPOT_CHECK_ORDER_RESULT.NOK.getValue();
|
|
|
|
orderResult = MesExtEnumUtil.SPOT_CHECK_ORDER_RESULT.NOK.getValue();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
result.setSpotCheckTime(TimeTool.getNowTime(true));
|
|
|
|
result.setSpotCheckTime(TimeTool.getNowTime(true));
|
|
|
|