|
|
|
@ -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("与任务指派拣货员不一致","与任务指派拣货员不一致"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|