|
|
|
@ -956,7 +956,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
int i1 = "1".equals(stockupDTO.getIsZero()) ? one.getQuantity() : 1; |
|
|
|
|
int i2 = "1".equals(stockupDTO.getIsZero()) ? one.getRealityQuantity() : 1; |
|
|
|
|
|
|
|
|
|
if (listYou.size() > 0) { |
|
|
|
|
if (!listYou.isEmpty()) { |
|
|
|
|
//
|
|
|
|
|
boolean b = listYou.stream().anyMatch(a -> a.getAllocationId().equals(p.getAllocationId())); |
|
|
|
|
if (b) { |
|
|
|
@ -1040,7 +1040,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
int i2 = "1".equals(stockupDTO.getIsZero()) ? one.getRealityQuantity() : 1; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (listYou.size() > 0) { |
|
|
|
|
if (!listYou.isEmpty()) { |
|
|
|
|
//
|
|
|
|
|
boolean b = listYou.stream().anyMatch(a -> a.getAllocationId().equals(p.getAllocationId())); |
|
|
|
|
if (b) { |
|
|
|
|