Commit 62ad6729 authored by cmahajan's avatar cmahajan

Add desc order for event date.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102947 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3747fde9
......@@ -631,7 +631,7 @@ public class ComplianceDB2 extends ValidatorEJB implements ComplianceDB2Local, C
" LEFT JOIN SALES_PERS S ON S.SALES_PERS = M.SALES_PERS " +
" LEFT JOIN STRG_CUSTOMER D ON D.SC_CODE = M.STRG_CODE " +
" WHERE M.SALES_PERS = '"+selectedSalePerson+"' AND M.EVENT_DATE BETWEEN TIMESTAMP('"+fromDate+"') AND TIMESTAMP('"+toDate+"') " +
" GROUP BY S.SP_NAME ,M.EVENT_DATE ,M.SALES_PERS ORDER BY M.EVENT_DATE";
" GROUP BY S.SP_NAME ,M.EVENT_DATE ,M.SALES_PERS ORDER BY M.EVENT_DATE DESC";
//Code for db2 End
//Code for base Start
......
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