Commit da4f0ad1 authored by manohar's avatar manohar

in PickRate bug fix o getting rate when no resultset


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91245 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e44bcf33
......@@ -1809,7 +1809,7 @@ public class DistCommon
}
else
{
rate = rs2.getDouble(1);
//rate = rs2.getDouble(1);
rs2.close();
rs2 = null;
pstmt.close();
......@@ -7671,7 +7671,7 @@ public String getCheckTaxEnvStatus(String taxEnv,Timestamp currDateTs,Connection
{
//java.sql.Timestamp fromDateTms = Timestamp.valueOf(genericUtility.getValidDateString(currDateTs.toString(), genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
sql="select (case when \"STATUS\" is null then 'A' else \"STATUS\" end) "
sql="select (case when \"STATUS\" is null then 'A' else \"STATUS\" end) STATUS "
+" from taxenv "
+" where tax_env = ? "
+" and status_date <= ? ";
......
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