Ver código fonte

top 7 增加facti

yubin 2 semanas atrás
pai
commit
47a6110ffd

+ 1 - 0
mall-service/src/main/java/com/txz/mall/business/impl/OrderServiceBusinessImpl.java

@@ -208,6 +208,7 @@ public class OrderServiceBusinessImpl implements OrderServiceBusiness {
                 rankVO.setProductId(storeCombination.getProductId());
                 rankVO.setProductName(storeCombination.getProductName());
                 rankVO.setSales(Integer.valueOf(num+""));
+                rankVO.setFicti(Integer.valueOf(num+""));
                 rankVO.setImage(storeCombination.getImage());
                 rankVO.setPrice(storeCombination.getPrice());
                 list.add(rankVO);

+ 3 - 0
mall-service/src/main/java/vo/StoreCombinationRankVO.java

@@ -27,4 +27,7 @@ public class StoreCombinationRankVO implements Serializable {
     @ApiModelProperty(value = "销量")
     private Integer sales;
 
+    @ApiModelProperty(value = "虚拟销量")
+    private Integer ficti;
+
 }