Commit 917ff1d2 authored by jshinde's avatar jshinde

Request Id: W15JSUN010

,Repalletization or pallet consolidation.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99946 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 41adb3b1
...@@ -250,12 +250,15 @@ public class CommonWmsUtil { ...@@ -250,12 +250,15 @@ public class CommonWmsUtil {
HashMap hm = new HashMap(); HashMap hm = new HashMap();
PreparedStatement pstmt=null; PreparedStatement pstmt=null;
ResultSet rs = null; ResultSet rs = null;
String sql = ""; String sql = "",itemSerRg1="";
String familyGrp = "", qcType = "", stroPref = ""; String familyGrp = "", qcType = "", stroPref = "";
try try
{ {
sql = "SELECT LOC_ZONE__PREF,PROC_MTH,ANALYSIS_CLASS FROM SITEITEM WHERE ITEM_CODE = ? AND SITE_CODE = ?"; //Change by Jagruti Shinde for ITEM_SER__RG1 Request ID:[W15JSUN010] [Start]
//sql="SELECT LOC_ZONE__PREF,PROC_MTH,ANALYSIS_CLASS FROM SITEITEM WHERE ITEM_CODE = ? AND SITE_CODE = ?";
sql = "SELECT LOC_ZONE__PREF,PROC_MTH,ANALYSIS_CLASS,ITEM_SER__RG1 FROM SITEITEM WHERE ITEM_CODE = ? AND SITE_CODE = ?";
//Change by Jagruti Shinde for ITEM_SER__RG1 Request ID:[W15JSUN010] [End]
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, itemCode); pstmt.setString(1, itemCode);
pstmt.setString(2, siteCode); pstmt.setString(2, siteCode);
...@@ -266,6 +269,9 @@ public class CommonWmsUtil { ...@@ -266,6 +269,9 @@ public class CommonWmsUtil {
familyGrp = checkNullAndTrim(rs.getString("LOC_ZONE__PREF")); familyGrp = checkNullAndTrim(rs.getString("LOC_ZONE__PREF"));
qcType = checkNullAndTrim(rs.getString("PROC_MTH")); qcType = checkNullAndTrim(rs.getString("PROC_MTH"));
stroPref = checkNullAndTrim(rs.getString("ANALYSIS_CLASS")); stroPref = checkNullAndTrim(rs.getString("ANALYSIS_CLASS"));
//Change by Jagruti Shinde for ITEM_SER__RG1 Request ID:[W15JSUN010] [Start]
itemSerRg1 = checkNullAndTrim(rs.getString("ITEM_SER__RG1"));
//Change by Jagruti Shinde for ITEM_SER__RG1 Request ID:[W15JSUN010] [End]
} }
rs.close();rs = null; rs.close();rs = null;
pstmt.close();pstmt = null; pstmt.close();pstmt = null;
...@@ -296,6 +302,9 @@ public class CommonWmsUtil { ...@@ -296,6 +302,9 @@ public class CommonWmsUtil {
hm.put("LOC_ZONE__PREF", familyGrp); hm.put("LOC_ZONE__PREF", familyGrp);
hm.put("PROC_MTH", qcType); hm.put("PROC_MTH", qcType);
hm.put("ANALYSIS_CLASS", stroPref); hm.put("ANALYSIS_CLASS", stroPref);
//Change by Jagruti Shinde for ITEM_SER__RG1 Request ID:[W15JSUN010] [Start]
hm.put("ITEM_SER__RG1", itemSerRg1);
//Change by Jagruti Shinde for ITEM_SER__RG1 Request ID:[W15JSUN010] [End]
} }
catch(Exception e) catch(Exception e)
{ {
......
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