Browse Source

已签收包件拦截异常签收判断

single_db
汤建军 1 year ago
parent
commit
e5577e511a
  1. 5
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

5
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

@ -1213,7 +1213,12 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
//判断客户 //判断客户
boolean flag = judgmentClient(distributionReservationEntity, parcelListEntity.getStockArticleId()); boolean flag = judgmentClient(distributionReservationEntity, parcelListEntity.getStockArticleId());
if (flag) { if (flag) {
if (parcelListEntity.getOrderPackageStatus().equals(OrderPackageStatusConstant.yiqianshou.getValue())){
return Resp.scanFail("包件已签收", "包件已签收");
}else {
return R.fail(3006, "异常签收"); return R.fail(3006, "异常签收");
}
} else { } else {
return Resp.scanFail("不满足签收条件", "不满足签收条件"); return Resp.scanFail("不满足签收条件", "不满足签收条件");
} }

Loading…
Cancel
Save