Commit 6e4b308a authored by pdas's avatar pdas

Checknull is added for channelpartner string


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97686 ce508802-f39f-4f6c-b175-0d175dae99d5
parent eae1a91c
...@@ -1647,8 +1647,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, ...@@ -1647,8 +1647,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal,
pstmt2.setString(2, suppCode); pstmt2.setString(2, suppCode);
rs2 = pstmt2.executeQuery(); rs2 = pstmt2.executeQuery();
if (rs2.next()) { if (rs2.next()) {
channelPartner = rs2.getString("channel_partner"); channelPartner = checkNull(rs2.getString("channel_partner"));
disLink = rs2.getString("dis_link"); disLink = checkNull(rs2.getString("dis_link"));
pstmt2.close(); pstmt2.close();
pstmt2 = null; pstmt2 = null;
rs2.close(); rs2.close();
...@@ -1664,8 +1664,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, ...@@ -1664,8 +1664,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal,
pstmt2.setString(1, suppCode); pstmt2.setString(1, suppCode);
rs2 = pstmt2.executeQuery(); rs2 = pstmt2.executeQuery();
if (rs2.next()) { if (rs2.next()) {
channelPartner = rs2.getString("channel_partner"); channelPartner = checkNull(rs2.getString("channel_partner"));
disLink = rs2.getString("dis_link"); disLink = checkNull(rs2.getString("dis_link"));
} }
pstmt2.close(); pstmt2.close();
pstmt2 = null; pstmt2 = null;
...@@ -1710,7 +1710,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, ...@@ -1710,7 +1710,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal,
rs2 = pstmt2.executeQuery(); rs2 = pstmt2.executeQuery();
if (rs2.next()) { if (rs2.next()) {
invStat = (rs2.getString("inv_stat")); invStat = checkNull(rs2.getString("inv_stat"));
System.out.print("invstat" + invStat); System.out.print("invstat" + invStat);
} }
pstmt2.close(); pstmt2.close();
......
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