This commit is contained in:
2024-01-08 22:58:42 +08:00
parent 3adf9dee39
commit cf54bd7ebd

View File

@@ -171,7 +171,8 @@ public class LpkGoodsService extends MybatisBaseService<LpkGoodsMapper, LpkGoods
list.forEach(s->{
s.setIconUrl(fileUploadComponent.getUrlPrefix() +s.getIconUrl());
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);
}