Commit 703a368b authored by mchauhan's avatar mchauhan

changed prc_type from int to sting for S and P type

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@216622 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dce6a8bc
...@@ -12480,11 +12480,11 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc ...@@ -12480,11 +12480,11 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc
pstmt = connGST.prepareStatement(sql); pstmt = connGST.prepareStatement(sql);
if ("S".equalsIgnoreCase(type)) if ("S".equalsIgnoreCase(type))
{ {
pstmt.setInt(1, 1); pstmt.setString(1, "1");// changed by mukesh chauhan from int to string on 14/02/2020
} }
else if("P".equalsIgnoreCase(type)) else if("P".equalsIgnoreCase(type))
{ {
pstmt.setInt(1, 2); pstmt.setString(1, "2");// changed by mukesh chauhan from int to string on 14/02/2020
} }
else else
{ {
...@@ -12517,11 +12517,11 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc ...@@ -12517,11 +12517,11 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc
pstmt = connGST.prepareStatement(sql); pstmt = connGST.prepareStatement(sql);
if ("S".equalsIgnoreCase(type)) if ("S".equalsIgnoreCase(type))
{ {
pstmt.setInt(1, 1); pstmt.setString(1, "1");// changed by mukesh chauhan from int to string on 14/02/2020
} }
else if("P".equalsIgnoreCase(type)) else if("P".equalsIgnoreCase(type))
{ {
pstmt.setInt(1, 2); pstmt.setString(1, "2");// changed by mukesh chauhan from int to string on 14/02/2020
} }
else else
{ {
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