You've already forked FrameTour-BE
照片打印,基础
This commit is contained in:
@@ -129,6 +129,12 @@ public class OrderServiceImpl implements OrderService {
|
||||
item.setOrderType("未知商品");
|
||||
}
|
||||
}
|
||||
} else if (Integer.valueOf(1).equals(item.getType())) {
|
||||
item.setGoodsName("多项商品");
|
||||
item.setOrderType("打包购买");
|
||||
} else if (Integer.valueOf(3).equals(item.getType())) {
|
||||
item.setGoodsName("打印照片");
|
||||
item.setOrderType("照片打印");
|
||||
}
|
||||
});
|
||||
PageInfo<OrderRespVO> pageInfo = new PageInfo<>(list);
|
||||
|
@@ -51,6 +51,8 @@ public class PriceConfigServiceImpl extends ServiceImpl<PriceConfigMapper, Price
|
||||
public void fillGoodsName(PriceConfigRespVO item) {
|
||||
if (Integer.valueOf(-1).equals(item.getType())) {
|
||||
item.setGoodsNames("景区内所有售卖商品");
|
||||
} else if (Integer.valueOf(3).equals(item.getType())) {
|
||||
item.setGoodsNames("打印照片");
|
||||
} else if (StringUtils.isNotBlank(item.getGoodsIds())) {
|
||||
List<String> goodsNames = new ArrayList<>();
|
||||
for (String s : item.getGoodsIds().split(",")) {
|
||||
|
Reference in New Issue
Block a user