|
|
|
@ -70,7 +70,10 @@ public class MesSpotCheckOrderController {
|
|
|
|
|
if (StringUtils.isEmpty(model.getProduceSn())) {
|
|
|
|
|
throw new ImppBusiException("扫描条码不能为空");
|
|
|
|
|
}
|
|
|
|
|
return ResultBean.success("查询成功").setResultList(spotCheckOrderService.scanProduceSn(model, AuthUtil.getOrganizeCode()));
|
|
|
|
|
if (CollectionUtils.isEmpty(model.getOrderPartList())) {
|
|
|
|
|
throw new ImppBusiException("点检明细零件不能为空");
|
|
|
|
|
}
|
|
|
|
|
return ResultBean.success("扫描产品条码成功").setResultList(spotCheckOrderService.scanProduceSn(model, AuthUtil.getOrganizeCode()));
|
|
|
|
|
} catch (ImppBusiException imppException) {
|
|
|
|
|
return ResultBean.fail(imppException);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|