Package org.openurp.base.util.stat
Class StatHelper
java.lang.Object
org.openurp.base.util.stat.StatHelper
统计帮助类
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreplaceIdWith(Collection datas, Class[] clazzes) 向只包含id的数组列表中填充实体对象 clazzes[0]对应这data[0]的实体类型static voidreplaceIdWith(Collection datas, Class[] clazzes, org.beangle.commons.dao.EntityDao entityDao) 向只包含id的数组列表中填充实体对象 clazzes[0]对应这data[0]的实体类型voidsetEntityDao(org.beangle.commons.dao.EntityDao entityDao) setStatEntities(Collection stats, Class entityClass)
-
Constructor Details
-
StatHelper
public StatHelper(org.beangle.commons.dao.EntityDao entityDao) -
StatHelper
public StatHelper()
-
-
Method Details
-
replaceIdWith
向只包含id的数组列表中填充实体对象 clazzes[0]对应这data[0]的实体类型- Parameters:
datas-clazzes-
-
replaceIdWith
public static void replaceIdWith(Collection datas, Class[] clazzes, org.beangle.commons.dao.EntityDao entityDao) 向只包含id的数组列表中填充实体对象 clazzes[0]对应这data[0]的实体类型- Parameters:
datas-clazzes-
-
setStatEntities
-
setEntityDao
public void setEntityDao(org.beangle.commons.dao.EntityDao entityDao)
-