Commit 9973d422 authored by kdabholkar's avatar kdabholkar

commit changes made in generateTranID method to assighn default value if site code is null

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@190521 ce508802-f39f-4f6c-b175-0d175dae99d5
parent eb962545
...@@ -37276,7 +37276,17 @@ dtlSql = " select '' as TRAN_ID, " ...@@ -37276,7 +37276,17 @@ dtlSql = " select '' as TRAN_ID, "
{ {
monthStr = ""+month; monthStr = ""+month;
} }
System.out.println("Current Month is=["+monthStr+"]");
/**Added By Kaustubh on 7 Sep 2018 to Assign Default value when site code is NULL ----------- Start*/
if(siteCode == null)
{
siteCode ="G0000";
}
/**Added By Kaustubh on 7 Sep 2018 to Assign Default value when site code is NULL ----------- End */
System.out.println("Current Month is=["+monthStr+"]"+"Site_code test"+siteCode);
selSql = "SELECT KEY_STRING, TRAN_ID_COL, REF_SER FROM TRANSETUP WHERE TRAN_WINDOW = ? "; selSql = "SELECT KEY_STRING, TRAN_ID_COL, REF_SER FROM TRANSETUP WHERE TRAN_WINDOW = ? ";
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