采购单物料列表去掉图片前缀
This commit is contained in:
parent
c8edb8a93f
commit
f0c90cc5bd
|
|
@ -407,7 +407,7 @@ public class NuInvoicingCgdMainServiceImpl extends ServiceImpl<NuInvoicingCgdMai
|
|||
// queryWrapper.eq(StringUtils.isNotBlank(typeId),"b.type_id",typeId);
|
||||
// queryWrapper.eq(StringUtils.isNotBlank(medicationId),"b.medication_id",medicationId);
|
||||
List<NuInvoicingCgdInfo> list = cgdInfoMapper.queryCgdInfoList(page,queryWrapper);
|
||||
getOpeMediaAddress();
|
||||
// getOpeMediaAddress();
|
||||
for (NuInvoicingCgdInfo cgdInfo : list){
|
||||
BigDecimal arrivalPrice = cgdInfo.getArrivalPrice();
|
||||
BigDecimal procurementPrice = cgdInfo.getProcurementPrice();
|
||||
|
|
@ -419,9 +419,9 @@ public class NuInvoicingCgdMainServiceImpl extends ServiceImpl<NuInvoicingCgdMai
|
|||
}
|
||||
cgdInfo.setTotalPrice(totalPrice);
|
||||
|
||||
if (cgdInfo.getMaterialImg() != null){
|
||||
cgdInfo.setMaterialImg(getImageNetUrl(cgdInfo.getMaterialImg()));
|
||||
}
|
||||
// if (cgdInfo.getMaterialImg() != null){
|
||||
// cgdInfo.setMaterialImg(getImageNetUrl(cgdInfo.getMaterialImg()));
|
||||
// }
|
||||
}
|
||||
IPage<CgdInfoEntity> entityPage = new Page<>(page.getCurrent(), page.getSize(), page.getTotal());
|
||||
entityPage.setRecords(BeanUtil.copyToList(list, CgdInfoEntity.class));
|
||||
|
|
|
|||
Loading…
Reference in New Issue