This commit is contained in:
shuo.wang
2025-05-26 20:50:53 +08:00
parent 3ae63c892a
commit 3a17363c7c
2 changed files with 21 additions and 13 deletions

View File

@@ -18,6 +18,7 @@ import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
/**
* @Author suzhuhong
@@ -169,4 +170,8 @@ public class ShopAccountDAO {
}
return shopAccountMapper.updateStatusDataHandle(shopIds);
}
public List<Long> getShopId(){
List<ShopAccountDO> shopAccountDOS = shopAccountMapper.selectAll();
return new ArrayList<>(shopAccountDOS.stream().map(ShopAccountDO::getShopId).collect(Collectors.toSet())) ;
}
}