Browse Source

备货扫描校验拣货员

pre-production
汤建军 3 weeks ago
parent
commit
11bcb031a0
  1. 4
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

4
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java

@ -5633,7 +5633,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
if (!b) {
return Resp.scanFail("当前操作人无此操作权限","当前操作人无此操作权限");
}else {
if (!stockupEntity.getStockupUserId().equals(AuthUtil.getUserId())){
if (!stockupEntity.getForkliftId().equals(AuthUtil.getUserId())){
return Resp.scanFail("与任务指派拣货员不一致","与任务指派拣货员不一致");
}
}
@ -5675,7 +5675,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
if (!b) {
return Resp.scanFail("当前操作人无此操作权限","当前操作人无此操作权限");
}else {
if (!stockupEntity.getStockupUserId().equals(AuthUtil.getUserId())){
if (!stockupEntity.getForkliftId().equals(AuthUtil.getUserId())){
return Resp.scanFail("与任务指派拣货员不一致","与任务指派拣货员不一致");
}
}

Loading…
Cancel
Save