|
@ -171,7 +171,8 @@ public class LpkGoodsService extends MybatisBaseService<LpkGoodsMapper, LpkGoods |
|
|
list.forEach(s->{ |
|
|
list.forEach(s->{ |
|
|
s.setIconUrl(fileUploadComponent.getUrlPrefix() +s.getIconUrl()); |
|
|
s.setIconUrl(fileUploadComponent.getUrlPrefix() +s.getIconUrl()); |
|
|
s.setTotalValue(decimalFormat.format(0)); |
|
|
s.setTotalValue(decimalFormat.format(0)); |
|
|
s.setPrice(String.valueOf(decimalFormat.format(Double.valueOf(s.getJPrice())*Double.valueOf(s.getWeight())))); |
|
|
// s.setPrice(String.valueOf(decimalFormat.format(Double.valueOf(s.getJPrice())*Double.valueOf(s.getWeight()))));
|
|
|
|
|
|
s.setPrice(decimalFormat.format(0)); |
|
|
}); |
|
|
}); |
|
|
return rb.success().setData(list); |
|
|
return rb.success().setData(list); |
|
|
} |
|
|
} |
|
|