Commit 78a1fb3a authored by ssalve's avatar ssalve

Sarita : Committed on 1 AUG 2019

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204507 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 76c28a6e
...@@ -534,8 +534,13 @@ public class AdChangeIC extends ValidatorEJB implements AdChangeICLocal, AdChang ...@@ -534,8 +534,13 @@ public class AdChangeIC extends ValidatorEJB implements AdChangeICLocal, AdChang
today = sdf1.format(cal.getTime()); today = sdf1.format(cal.getTime());
refType = checkNull(genericUtility.getColumnValue("ref_type", dom)); refType = checkNull(genericUtility.getColumnValue("ref_type", dom));
effDateStr = checkNull(genericUtility.getColumnValue("eff_date", dom));
expDateStr = checkNull(genericUtility.getColumnValue("exp_date", dom));
refNo = checkNull(genericUtility.getColumnValue("ref_no", dom)); refNo = checkNull(genericUtility.getColumnValue("ref_no", dom));
System.out.println("currentDate ::["+today+"]\t refType ::["+refType+"]\t refNo ::["+refNo+"]"); System.out.println("currentDate ::["+today+"]\t refType ::["+refType+"]\t refNo ::["+refNo+"]");
//Added by Varsha V on 31-07-19 as per requirement from mahesh
valueXmlString.append("<eff_date protect=\"1\"><![CDATA[" +effDateStr+ "]]></eff_date>\r\n");
valueXmlString.append("<exp_date protect=\"0\"><![CDATA[" +expDateStr+ "]]></exp_date>\r\n");
if("O".equalsIgnoreCase(refType) || "L".equalsIgnoreCase(refType)) if("O".equalsIgnoreCase(refType) || "L".equalsIgnoreCase(refType))
{ {
......
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