tags/yfai-pcn-ext-v1.0
LML丶 1 year ago
parent 3402d563a0
commit 5f8a37fc8c

@ -217,7 +217,7 @@ public class MesSpotCheckOrderService implements IMesSpotCheckOrderService {
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();
}
result.setSpotCheckTime(TimeTool.getNowTime(true));

Loading…
Cancel
Save