Commit 16b26af3 authored by pchavan's avatar pchavan

ADD CheckNull method to pre_assign_lot.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@179186 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d9492931
...@@ -3065,12 +3065,15 @@ public class PorderConf extends ActionHandlerEJB implements PorderConfLocal, Por ...@@ -3065,12 +3065,15 @@ public class PorderConf extends ActionHandlerEJB implements PorderConfLocal, Por
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if(rs.next()) if(rs.next())
{ {
preAssignLot = rs.getString("PRE_ASSIGN_LOT"); //Added CheckNull By PriankaC on 25JAN18.[START]
//preAssignLot = rs.getString("PRE_ASSIGN_LOT");
preAssignLot = checkNull(rs.getString("PRE_ASSIGN_LOT"));
//Added CheckNull By PriankaC on 25JAN18.[END]
} }
rs.close();rs = null; rs.close();rs = null;
pstmt.close();pstmt = null; pstmt.close();pstmt = null;
if("A".equalsIgnoreCase(checkNull(preAssignLot.trim())))//Added CheckNull By PriankaC on 25JAN18. if("A".equalsIgnoreCase(preAssignLot.trim()))
{ {
sql = "select key_string from transetup where upper(tran_window) = 'PURC_LOT_NO' " ; sql = "select key_string from transetup where upper(tran_window) = 'PURC_LOT_NO' " ;
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
......
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