Commit 0b169bdc authored by kshinde's avatar kshinde

Bug Fix wizard Reset button

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@180124 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1c55a4e9
...@@ -680,10 +680,10 @@ public class PricelistGenWizEJB extends ValidatorEJB implements PricelistGenWizE ...@@ -680,10 +680,10 @@ public class PricelistGenWizEJB extends ValidatorEJB implements PricelistGenWizE
grpCode=e12genericUtility.getColumnValue("grp_code", currFormDataDom); grpCode=e12genericUtility.getColumnValue("grp_code", currFormDataDom);
productCode=e12genericUtility.getColumnValue("product_code", currFormDataDom); productCode=e12genericUtility.getColumnValue("product_code", currFormDataDom);
if(grpCode!=null || grpCode.trim().length()>0 ) if(grpCode!=null && grpCode.trim().length()>0 )
{ {
String sql1="Select count(*) from item where product_code= ? and grp_code= ?"; String sql1="Select count(*) from item where product_code= ? and grp_code= ?";
pstmt=conn.prepareStatement(sql); pstmt=conn.prepareStatement(sql1);
pstmt.setString(1, productCode); pstmt.setString(1, productCode);
pstmt.setString(2, grpCode); pstmt.setString(2, grpCode);
rs=pstmt.executeQuery(); rs=pstmt.executeQuery();
......
...@@ -110,6 +110,10 @@ public class PlistgenWizServlet extends HttpServlet ...@@ -110,6 +110,10 @@ public class PlistgenWizServlet extends HttpServlet
} }
else else
{ {
ibase.utility.UserInfoBean userInfoBean = ( ibase.utility.UserInfoBean )request.getSession().getAttribute( "USER_INFO" );
String loginCode=userInfoBean.getLoginCode();
HashMap<String,String> requestParamMap = new HashMap<String,String>(); HashMap<String,String> requestParamMap = new HashMap<String,String>();
String paramName = "", paramValue = ""; String paramName = "", paramValue = "";
...@@ -123,6 +127,7 @@ public class PlistgenWizServlet extends HttpServlet ...@@ -123,6 +127,7 @@ public class PlistgenWizServlet extends HttpServlet
if(!paramValue.equalsIgnoreCase("")) if(!paramValue.equalsIgnoreCase(""))
requestParamMap.put(paramName,paramValue); requestParamMap.put(paramName,paramValue);
} }
requestParamMap.put("loginUser", loginCode);
System.out.println("Request Parameter map :"+requestParamMap); System.out.println("Request Parameter map :"+requestParamMap);
ctx=getInitialContext(); ctx=getInitialContext();
......
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