\r
import javax.transaction.Transactional;\r
\r
+import com.google.common.base.Throwables;\r
import org.hibernate.Query;\r
import org.hibernate.Session;\r
import org.hibernate.SessionFactory;\r
list = query.setParameterList("alist", id).list();\r
return list;\r
} catch (Exception e) {\r
- e.printStackTrace();\r
+ logger.error("exception occurred while performing PerformanceInformationServiceImpl queryId. Details:" + Throwables.getStackTraceAsString(e));\r
logger.error("exception occurred while performing PerformanceInformationServiceImpl queryId. Details:" + e.getMessage());\r
return null;\r
}\r
String num=(String) query.uniqueResult();\r
return UuiCommonUtil.isNotNullOrEmpty(num)?num:0+"";\r
} catch (Exception e) {\r
- e.printStackTrace();\r
+ logger.error("exception occurred while performing PerformanceInformationServiceImpl queryMaxValueByBetweenDate. Details:" + Throwables.getStackTraceAsString(e));\r
logger.error("exception occurred while performing PerformanceInformationServiceImpl queryMaxValueByBetweenDate. Details:" + e.getMessage());\r
return 0+"";\r
}\r