Commit 93784c87 authored by ppatro's avatar ppatro

Changed by Sachinn 03/07/15 bug fixing


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98196 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 597d10b5
...@@ -192,7 +192,8 @@ public class LocationStockOccupancy extends ValidatorEJB implements LocationStoc ...@@ -192,7 +192,8 @@ public class LocationStockOccupancy extends ValidatorEJB implements LocationStoc
{ {
xmlData.append("</loc_phy_stack > "); xmlData.append("</loc_phy_stack > ");
} }
if (count > 1 && !currentRow.equals(previousRow)) //Changed by Sachinn 03/07/15 bug fixing .start
/*if (count > 1 && !currentRow.equals(previousRow))
{ {
xmlData.append("</loc_phy_row > "); xmlData.append("</loc_phy_row > ");
} }
...@@ -201,8 +202,30 @@ public class LocationStockOccupancy extends ValidatorEJB implements LocationStoc ...@@ -201,8 +202,30 @@ public class LocationStockOccupancy extends ValidatorEJB implements LocationStoc
{ {
previousRow = checkNull(rs.getString("loc_phy_row")); previousRow = checkNull(rs.getString("loc_phy_row"));
xmlData.append("<loc_phy_row row =\"" + currentRow + "\">"); xmlData.append("<loc_phy_row row =\"" + currentRow + "\">");
}*/
if (count > 1 && !currentRow.equals(previousRow))
{
if(previousStack.equals(cuurentStack))
{
xmlData.append("</loc_phy_stack > ");
}
xmlData.append("</loc_phy_row > ");
} }
if (count == 1 || !currentRow.equals(previousRow))
{
previousRow = checkNull(rs.getString("loc_phy_row"));
xmlData.append("<loc_phy_row row =\"" + currentRow + "\">");
if(previousStack.equals(cuurentStack))
{
xmlData.append("<loc_phy_stack stack=\"" + cuurentStack + "\">");
}
}
//Changed by Sachinn 03/07/15 bug fixing .end
if (count == 1 || !previousStack.equals(cuurentStack)) if (count == 1 || !previousStack.equals(cuurentStack))
{ {
previousStack = checkNull(rs.getString("loc_phy_stack")); previousStack = checkNull(rs.getString("loc_phy_stack"));
......
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