商品 可售时间 分组 排序

会员信息 返回头像
This commit is contained in:
2024-08-16 09:27:58 +08:00
parent 48a6628acb
commit 878cc895d4
3 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,6 @@ package com.chaozhanggui.system.cashierservice.entity;
import org.springframework.data.annotation.Transient;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

View File

@@ -161,8 +161,8 @@ public class ProductService {
g.setProducts(new ArrayList<>());
}
});
groupList.sort(Comparator.comparingInt(TbProductGroup::getIsSale).reversed());
groupList.add(0, hot);
groupList.sort(Comparator.comparingInt(TbProductGroup::getIsSale));
concurrentMap.put("productInfo", groupList);
}

View File

@@ -130,6 +130,7 @@
SELECT
f.*,
u.`head_img`,
u.`name`
FROM
tb_shop_user_flow f