|
|
|
@ -112,9 +112,15 @@ public class InvInnerOrderPrintServiceImpl implements InvInnerOrderPrintService
|
|
|
|
|
filterUdiRelRequest.setId(Long.valueOf(obj.getProductId()));
|
|
|
|
|
filterUdiRelRequest.setPackLevel(udiRelevanceDao.selectPackLevel(obj.getNameCode()));
|
|
|
|
|
System.out.println(filterUdiRelRequest.getPackLevel());
|
|
|
|
|
int a=0;
|
|
|
|
|
if (filterUdiRelRequest.getPackLevel()==null){
|
|
|
|
|
a=0;
|
|
|
|
|
}else {
|
|
|
|
|
a=Integer.parseInt(filterUdiRelRequest.getPackLevel())-1;
|
|
|
|
|
}
|
|
|
|
|
//查询耗材字典信息
|
|
|
|
|
// UdiRelevanceResponse filterUdiRelevance = udiRelevanceDao.filterUdiRelevance(filterUdiRelRequest).get(0);
|
|
|
|
|
UdiRelevanceResponse filterUdiRelevance = udiRelevanceDao.filterUdiRelevance(filterUdiRelRequest).get(Integer.parseInt(filterUdiRelRequest.getPackLevel())-1);
|
|
|
|
|
//UdiRelevanceResponse filterUdiRelevance = udiRelevanceDao.filterUdiRelevance(filterUdiRelRequest).get(0);
|
|
|
|
|
UdiRelevanceResponse filterUdiRelevance = udiRelevanceDao.filterUdiRelevance(filterUdiRelRequest).get(a);
|
|
|
|
|
//查询产品信息
|
|
|
|
|
UdiProductEntity udiProductEntity = udiProductService.findByNameCode(filterUdiRelevance.getNameCode());
|
|
|
|
|
|
|
|
|
|