Commit b3842918 authored by ='s avatar =

hungtt-commit fix bug CAM-355

parent 744ddebd
...@@ -652,7 +652,7 @@ public class CampaignRepositoryImpl implements CampaignRepositoryCustom { ...@@ -652,7 +652,7 @@ public class CampaignRepositoryImpl implements CampaignRepositoryCustom {
"where a.totalCusCampaign > 0" + "where a.totalCusCampaign > 0" +
"),\n" + "),\n" +
"count_data as (\n" + "count_data as (\n" +
"select count(*) totalRow from data_temp\n" + "select count(*) totalRow from data\n" +
")\n" + ")\n" +
"select a.customerListId, a.customerListCode, a.customerListName, a.totalCusList, a.totalCusCampaign, a.totalCusCalled, a.totalCusNotInteract, totalRow from data a, count_data\n" + "select a.customerListId, a.customerListCode, a.customerListName, a.totalCusList, a.totalCusCampaign, a.totalCusCalled, a.totalCusNotInteract, totalRow from data a, count_data\n" +
"where row_ >= ((:p_page_number - 1) * :p_page_size + 1) and row_ < (:p_page_number * :p_page_size + 1)\n"; "where row_ >= ((:p_page_number - 1) * :p_page_size + 1) and row_ < (:p_page_number * :p_page_size + 1)\n";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment