Commit f456062a authored by sbade's avatar sbade

modified SQL for performance improvement


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@100233 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b17e6685
......@@ -8,8 +8,6 @@ import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.ejb.Stateless;
import org.json.simple.JSONObject;
......@@ -693,18 +691,7 @@ public class EmpAnalytics extends ValidatorEJB implements EmpAnalyticsRemote, E
}
/********** End of method getSDTimeAnalyticsWorstServlet() ******/
private String checkZero(String str)
{
if(str == null || str.equals(null) || str.equalsIgnoreCase(""))
{
return "0";
}
else
{
return str ;
}
}
private String checkNull(String str)
{
......
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