更新系统的lib库,去掉多余的包

This commit is contained in:
季圣华 2017-01-20 00:06:32 +08:00
parent 3b1c14a2bc
commit 46e4331724
63 changed files with 43 additions and 14 deletions

View File

@ -0,0 +1,8 @@
eclipse.preferences.version=1
performed.operation.me.create.deploymentAssembly=1.0
performed.operation.me.create.deploymentAssembly.fixBuildPathEntries=1.0
performed.operation.me.install.jstl=1.0
performed.operation.me.install.springfacet=1.0
performed.operation.me.migrate.hibernatenature=1.0
performed.operation.me.migrate.jsnature=1.0
performed.operation.migrate.container.ids=1.0

View File

@ -0,0 +1,7 @@
<root>
<facet id="me.spring">
<node name="libprov">
<attribute name="provider-id" value="spring-no-op-library-provider"/>
</node>
</facet>
</root>

14
.springBeans Normal file
View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<beansProjectDescription>
<version>1</version>
<pluginVersion><![CDATA[2.2.0.me201003052220]]></pluginVersion>
<configSuffixes>
<configSuffix><![CDATA[xml]]></configSuffix>
</configSuffixes>
<enableImports><![CDATA[false]]></enableImports>
<configs>
</configs>
<configSets>
</configSets>
<springVersion>1.2</springVersion>
</beansProjectDescription>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -78,19 +78,19 @@ public class BaseDAO<T> extends HibernateDaoSupport implements BaseIDAO<T>
pageUtil.setPageList(query.list());
}
@SuppressWarnings("unchecked")
@Override
public List<T> find(Map<String, Object> conditon)throws DataAccessException
{
return this.getHibernateTemplate().find(" from " + getEntityClass().getName() + " where 1=1 "+ SearchConditionUtil.getCondition(conditon));
}
// @SuppressWarnings("unchecked")
// @Override
// public List<T> find(Map<String, Object> conditon)throws DataAccessException
// {
// return this.getHibernateTemplate().find(" from " + getEntityClass().getName() + " where 1=1 "+ SearchConditionUtil.getCondition(conditon));
// }
@SuppressWarnings("unchecked")
@Override
public List<T> find(String hql) throws DataAccessException
{
return this.getHibernateTemplate().find(" from " + getEntityClass().getName() + " where 1=1 "+ hql);
}
// @SuppressWarnings("unchecked")
// @Override
// public List<T> find(String hql) throws DataAccessException
// {
// return this.getHibernateTemplate().find(" from " + getEntityClass().getName() + " where 1=1 "+ hql);
// }
@SuppressWarnings("unchecked")
@Override

View File

@ -77,14 +77,14 @@ public interface BaseIDAO<T>
* @param conditon 查询条件
* @return 查询列表数据
*/
List<T> find(Map<String,Object> conditon)throws DataAccessException;
// List<T> find(Map<String,Object> conditon)throws DataAccessException;
/**
* 根据hql查询 --没有分页信息
* @param hql hibernate查询
* @return 查询列表数据
*/
List<T> find(String hql)throws DataAccessException;
// List<T> find(String hql)throws DataAccessException;
/**
* 根据搜索条件查询--分页