Commit ebbacfae authored by steurwadkar's avatar steurwadkar

Changes made to fix display active scheme on tool tip

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@179986 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d14e67b7
......@@ -2344,10 +2344,10 @@ public class SorderWizardEJB extends ValidatorEJB implements SorderWizardEJBLoca
sql = " SELECT A.SCHEME_CODE,A.DESCR FROM SCH_GROUP_DEF A,SCH_PUR_ITEMS B, SCHEME_APPLICABILITY C "
+ " WHERE A.SCHEME_CODE = B.SCHEME_CODE AND A.SCHEME_CODE = C.SCHEME_CODE "
+ " AND C.APP_FROM <= ? AND C.VALID_UPTO >= ? AND TRIM(B.ITEM_CODE) = ?";
+ " AND C.APP_FROM <= ? AND C.VALID_UPTO >= ? AND TRIM(B.ITEM_CODE) = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setTimestamp(1, java.sql.Timestamp.valueOf(genericUtility.getValidDateString(new Date(), genericUtility.getDBDateTimeFormat())));
pstmt.setTimestamp(2, java.sql.Timestamp.valueOf(genericUtility.getValidDateString(new Date(), genericUtility.getDBDateTimeFormat())));
pstmt.setTimestamp(1, java.sql.Timestamp.valueOf( genericUtility.getValidDateString(new Date(), genericUtility.getDBDateFormat()) + " 00:00:00.0") );
pstmt.setTimestamp(2, java.sql.Timestamp.valueOf( genericUtility.getValidDateString(new Date(), genericUtility.getDBDateFormat()) + " 00:00:00.0") );
pstmt.setString(3, itmCode);
rs = pstmt.executeQuery();
if(rs.next())
......
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