|
|
|
@ -3165,7 +3165,6 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
String html = TemplateUtil.getTemplateByUrl(template.getTemplateUrl()); |
|
|
|
|
printPreviewVO.setTemplateHtml(html); |
|
|
|
|
printPreviewVO.setTemplateId(template.getId()); |
|
|
|
|
|
|
|
|
|
String[] idArray = ids.split(","); |
|
|
|
|
if (ObjectUtils.isNull(idArray)) { |
|
|
|
|
throw new ServiceException("参数错误"); |
|
|
|
@ -3201,6 +3200,11 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
|
|
|
|
|
List<DistributionReservationEntity> distributionReservationEntityList = distributionReservationMapper.findByDeliveryId(byId.getId()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(distributionReservationEntityList.isEmpty()){ |
|
|
|
|
throw new ServiceException("为找到相关数据"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
for (DistributionReservationEntity distributionReservationEntity : distributionReservationEntityList) { |
|
|
|
|
|
|
|
|
|
map.put("配送单号", distributionReservationEntity.getReservationCode()); |
|
|
|
@ -3286,6 +3290,7 @@ public class DistributionDeliveryListServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
temp.put("数量",distributionReservationStockarticleEntity.getReservationNum()); |
|
|
|
|
temp.put("备货区",null); |
|
|
|
|
//todo 这里还没完成
|
|
|
|
|
temp.put("货位",null); |
|
|
|
|
|
|
|
|
|
result.add(temp); |
|
|
|
|
|
|
|
|
|