|
@@ -90,7 +90,7 @@ public class UserPackageFlowService {
|
|
|
public List<UserPackageFlowVO> my(Long userId) {
|
|
public List<UserPackageFlowVO> my(Long userId) {
|
|
|
List<UserPackageFlowVO> vos = new ArrayList<>();
|
|
List<UserPackageFlowVO> vos = new ArrayList<>();
|
|
|
// 查找用户相关
|
|
// 查找用户相关
|
|
|
- List<UserPackageFlow> flows = userPackageFlowRepo.findAllByUserId(userId);
|
|
|
|
|
|
|
+ List<UserPackageFlow> flows = userPackageFlowRepo.findAllByUserIdOrderByCreatedAtDesc(userId);
|
|
|
// Set<Long> goodsId = new HashSet<>();
|
|
// Set<Long> goodsId = new HashSet<>();
|
|
|
// // 找出相关商品
|
|
// // 找出相关商品
|
|
|
// flows.forEach(flow -> {
|
|
// flows.forEach(flow -> {
|