商品 可售时间 分组 排序
会员信息 返回头像
This commit is contained in:
@@ -3,7 +3,6 @@ package com.chaozhanggui.system.cashierservice.entity;
|
|||||||
|
|
||||||
import org.springframework.data.annotation.Transient;
|
import org.springframework.data.annotation.Transient;
|
||||||
|
|
||||||
import javax.validation.constraints.NotNull;
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|||||||
@@ -161,8 +161,8 @@ public class ProductService {
|
|||||||
g.setProducts(new ArrayList<>());
|
g.setProducts(new ArrayList<>());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
groupList.sort(Comparator.comparingInt(TbProductGroup::getIsSale).reversed());
|
||||||
groupList.add(0, hot);
|
groupList.add(0, hot);
|
||||||
groupList.sort(Comparator.comparingInt(TbProductGroup::getIsSale));
|
|
||||||
concurrentMap.put("productInfo", groupList);
|
concurrentMap.put("productInfo", groupList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -130,6 +130,7 @@
|
|||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
f.*,
|
f.*,
|
||||||
|
u.`head_img`,
|
||||||
u.`name`
|
u.`name`
|
||||||
FROM
|
FROM
|
||||||
tb_shop_user_flow f
|
tb_shop_user_flow f
|
||||||
|
|||||||
Reference in New Issue
Block a user