fix page_size update problem
This commit is contained in:
parent
60c4b1b61c
commit
34a35a243b
@ -37,8 +37,9 @@
|
||||
if ((CONDITION_DATA)->page <= 0) { \
|
||||
(CONDITION_DATA)->page = 1; \
|
||||
} \
|
||||
(PAGE_DATA)->page = (CONDITION_DATA)->page; \
|
||||
DB_RES = (DOO)->getPageByConditions(CONDITION_DATA); \
|
||||
(PAGE_DATA)->page = (CONDITION_DATA)->page; \
|
||||
(PAGE_DATA)->page_size = (CONDITION_DATA)->page_size; \
|
||||
DB_RES = (DOO)->getPageByConditions(CONDITION_DATA); \
|
||||
ASSERT_DB(DB_RES); \
|
||||
(PAGE_DATA)->items = DB_RES->fetch<oatpp::List<oatpp::Object<ITEM_DTO>>>(); \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user