Commit 5807e7ed authored by ngadkari's avatar ngadkari

CHANGES IN SCHEME CODE SQL

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198556 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c966031d
...@@ -248,7 +248,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -248,7 +248,7 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
HashMap<String,String> detai1ValueMap = new HashMap<String,String>(); HashMap<String,String> detai1ValueMap = new HashMap<String,String>();
List<String> schemeInfo = null; List<String> schemeInfo = null;
Set<String> finalApplicableSchemeSet = new HashSet<String>(); Set<String> finalApplicableSchemeSet = new HashSet<String>();
String itemValues = "",itemCodeSchm = "",rate = "",SaleOrder = "",schemeCode1 = "",siteCode1=""; String itemValues = "",itemCodeSchm = "",rate = "",SaleOrder = "",schemeCode1 = "",siteCode1="",stateCodeDlv="",countCodeDlv="";
double finRate =0.0; double finRate =0.0;
try try
...@@ -262,6 +262,9 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -262,6 +262,9 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
custCode = checkNull(genericUtility.getColumnValueFromNode("cust_code", headerNode)); custCode = checkNull(genericUtility.getColumnValueFromNode("cust_code", headerNode));
orderDate = checkNull(genericUtility.getColumnValueFromNode("order_date", headerNode)); orderDate = checkNull(genericUtility.getColumnValueFromNode("order_date", headerNode));
siteCode1 = checkNull(genericUtility.getColumnValueFromNode("site_code", headerNode)); siteCode1 = checkNull(genericUtility.getColumnValueFromNode("site_code", headerNode));
// state code and count code aaded by nandkumar gadkari on 18/03/19
stateCodeDlv = checkNull(genericUtility.getColumnValueFromNode("state_code__dlv", headerNode));
countCodeDlv = checkNull(genericUtility.getColumnValueFromNode("count_code__dlv", headerNode));
System.out.println("custcodedlv["+custcodedlv+"]" + "itemSer["+itemSer+"]" + "dsp_date["+dsp_date+"]" + "custCode["+custCode+"]" + "orderDate["+orderDate+"]" + "siteCode1["+siteCode1+"]"); System.out.println("custcodedlv["+custcodedlv+"]" + "itemSer["+itemSer+"]" + "dsp_date["+dsp_date+"]" + "custCode["+custCode+"]" + "orderDate["+orderDate+"]" + "siteCode1["+siteCode1+"]");
detai1ValueMap.put("cust_code__dlv", custcodedlv); detai1ValueMap.put("cust_code__dlv", custcodedlv);
detai1ValueMap.put("item_ser", itemSer); detai1ValueMap.put("item_ser", itemSer);
...@@ -368,8 +371,8 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -368,8 +371,8 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
pstmt2.setTimestamp(2, TranDateDet); pstmt2.setTimestamp(2, TranDateDet);
//pstmt2.setString(3, schemeCode1); //pstmt2.setString(3, schemeCode1);
pstmt2.setString(3, siteCode); pstmt2.setString(3, siteCode);
pstmt2.setString(4, ""); pstmt2.setString(4, stateCodeDlv);//set by nandkumar gadkari on 18/03/19
pstmt2.setString(5, ""); pstmt2.setString(5, countCodeDlv);
rs2 = pstmt2.executeQuery(); rs2 = pstmt2.executeQuery();
while(rs2.next()) while(rs2.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