Commit 80b36cf1 authored by cpatil's avatar cpatil

modify status


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91877 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c76985d2
...@@ -2869,7 +2869,7 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu ...@@ -2869,7 +2869,7 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu
{ {
valueXmlString.append("<status protect =\"1\">").append("<![CDATA["+"S"+"]]>").append("</status>"); valueXmlString.append("<status protect =\"1\">").append("<![CDATA["+"S"+"]]>").append("</status>");
} }
else else if ( expDate.before(ldtLrdate) )
{ {
sqlStr = " select ( case when shelf_life is null then 0 else shelf_life end ) mshlife " sqlStr = " select ( case when shelf_life is null then 0 else shelf_life end ) mshlife "
...@@ -3486,7 +3486,7 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu ...@@ -3486,7 +3486,7 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu
{ {
valueXmlString.append("<status protect =\"1\">").append("<![CDATA["+"S"+"]]>").append("</status>"); valueXmlString.append("<status protect =\"1\">").append("<![CDATA["+"S"+"]]>").append("</status>");
} }
else else if ( expDate.before(ldtLrdate) )
{ {
sqlStr = " select ( case when shelf_life is null then 0 else shelf_life end ) mshlife " sqlStr = " select ( case when shelf_life is null then 0 else shelf_life end ) mshlife "
...@@ -3546,6 +3546,14 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu ...@@ -3546,6 +3546,14 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu
{ {
valueXmlString.append("<status protect =\"1\">").append("<![CDATA["+"E"+"]]>").append("</status>"); valueXmlString.append("<status protect =\"1\">").append("<![CDATA["+"E"+"]]>").append("</status>");
} }
else if( "FRSH".equalsIgnoreCase(mlocCode.trim()) )
{
valueXmlString.append("<status protect =\"1\">").append("<![CDATA["+"S"+"]]>").append("</status>");
}
else
{
valueXmlString.append("<status protect =\"1\">").append("<![CDATA["+"S"+"]]>").append("</status>");
}
} }
} }
......
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