fix
This commit is contained in:
@@ -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())) ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user