Merge branch 'master' of ssh://brodbeck-online.de:60022/martin/kima2-cpp
This commit is contained in:
commit
fb98c3786e
4 changed files with 1 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.8)
|
||||
|
||||
project(kima2 VERSION 1.2.0)
|
||||
project(kima2 VERSION 1.3.0)
|
||||
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_HOME_DIRECTORY}/cmake")
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -23,15 +23,12 @@ std::size_t ExcelReader::readSellersFromFile(const fs::path& filePath, Marketpla
|
|||
auto ws = wb.sheet_by_index(0);
|
||||
|
||||
const int START_ROW = 5;
|
||||
const int END_ROW = 350;
|
||||
|
||||
int rowCount{};
|
||||
for (const auto& row : ws.rows(false)) {
|
||||
if (rowCount < START_ROW) {
|
||||
++rowCount;
|
||||
continue;
|
||||
} else if (rowCount > END_ROW) {
|
||||
break;
|
||||
}
|
||||
if (row[2].value<std::string>().empty() && row[3].value<std::string>().empty()) {
|
||||
++rowCount;
|
||||
|
|
Loading…
Reference in a new issue