|
|
|
@ -2555,7 +2555,20 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
|
|
|
|
|
List<DistributionMarketExcel> list = baseMapper.exportMarket(paramMap, idArr); |
|
|
|
|
list.forEach(li -> { |
|
|
|
|
li.setStockupStatus(DictCache.getValue(DictBizConstant.STOCKUP_STATUS, li.getStockupStatus())); |
|
|
|
|
switch (li.getStockupStatus()) { |
|
|
|
|
case "10": |
|
|
|
|
li.setStockupStatus("待分配"); |
|
|
|
|
break; |
|
|
|
|
case "20": |
|
|
|
|
li.setStockupStatus("待备货"); |
|
|
|
|
break; |
|
|
|
|
case "30": |
|
|
|
|
li.setStockupStatus("备货中"); |
|
|
|
|
break; |
|
|
|
|
case "40": |
|
|
|
|
li.setStockupStatus("已备货"); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
li.setAssignStatus("1".equals(li.getAssignStatus()) ? "未指派" : "已指派"); |
|
|
|
|
}); |
|
|
|
|
return list; |
|
|
|
@ -2581,7 +2594,20 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
paramMap.put("tenantId", tenantId); |
|
|
|
|
List<DistributionCityExcel> list = baseMapper.exportCity(paramMap, idArr); |
|
|
|
|
list.forEach(li -> { |
|
|
|
|
li.setStockupStatus(DictCache.getValue(DictBizConstant.STOCKUP_STATUS, li.getStockupStatus())); |
|
|
|
|
switch (li.getStockupStatus()) { |
|
|
|
|
case "10": |
|
|
|
|
li.setStockupStatus("待分配"); |
|
|
|
|
break; |
|
|
|
|
case "20": |
|
|
|
|
li.setStockupStatus("待备货"); |
|
|
|
|
break; |
|
|
|
|
case "30": |
|
|
|
|
li.setStockupStatus("备货中"); |
|
|
|
|
break; |
|
|
|
|
case "40": |
|
|
|
|
li.setStockupStatus("已备货"); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
li.setAssignStatus("1".equals(li.getAssignStatus()) ? "未指派" : "已指派"); |
|
|
|
|
}); |
|
|
|
|
return list; |
|
|
|
@ -2608,7 +2634,20 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
|
|
|
|
|
List<DistributionSelfExcel> list = baseMapper.exportSelf(paramMap, idArr); |
|
|
|
|
list.forEach(li -> { |
|
|
|
|
li.setStockupStatus(DictCache.getValue(DictBizConstant.STOCKUP_STATUS, li.getStockupStatus())); |
|
|
|
|
switch (li.getStockupStatus()) { |
|
|
|
|
case "10": |
|
|
|
|
li.setStockupStatus("待分配"); |
|
|
|
|
break; |
|
|
|
|
case "20": |
|
|
|
|
li.setStockupStatus("待备货"); |
|
|
|
|
break; |
|
|
|
|
case "30": |
|
|
|
|
li.setStockupStatus("备货中"); |
|
|
|
|
break; |
|
|
|
|
case "40": |
|
|
|
|
li.setStockupStatus("已备货"); |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
li.setAssignStatus("1".equals(li.getAssignStatus()) ? "未指派" : "已指派"); |
|
|
|
|
}); |
|
|
|
|
return list; |
|
|
|
|