工序接收耐蚀性检测项目生成校验

liweidong
李涛 5 days ago
parent ed2b233ddf
commit f251139b42
  1. 2
      blade-service/blade-desk/src/main/java/org/springblade/desk/produce/service/impl/PlateAroundServiceImpl.java

@ -107,7 +107,7 @@ public class PlateAroundServiceImpl extends BaseServiceImpl<PlateAroundMapper, P
List<Long> tsIds = getTsIds(); List<Long> tsIds = getTsIds();
BeforePlatInVO beforePlatOutCardNo = baseMapper.getBeforePlatOutCardNo(wo.getId(), tsIds, AuthUtil.getUserId()); BeforePlatInVO beforePlatOutCardNo = baseMapper.getBeforePlatOutCardNo(wo.getId(), tsIds, AuthUtil.getUserId());
if (beforePlatOutCardNo == null) { if (beforePlatOutCardNo == null) {
throw new ServiceException("未找到镀前入库记录,无法出库!"); throw new ServiceException("未找到镀前入库记录,请上序班组镀前入库!");
} }
long count = this.count(Wrappers.lambdaQuery(PlateAround.class).eq(PlateAround::getWpId, beforePlatOutCardNo.getWpId()).eq(PlateAround::getPaType, PlateAround.BEFORE_PLAN_OUT)); long count = this.count(Wrappers.lambdaQuery(PlateAround.class).eq(PlateAround::getWpId, beforePlatOutCardNo.getWpId()).eq(PlateAround::getPaType, PlateAround.BEFORE_PLAN_OUT));
if (count > 0) { if (count > 0) {

Loading…
Cancel
Save