@ -44,7 +44,7 @@ public interface PropertyProjectDao extends BaseDao<PropertyProjectEntity> {
* @author zhangyuan
* @since 2019/10/11 14:54
*/
List<PropertyProjectEntity> selectListOfGroups(Map<String, Object> params);
List<PropertyProjectEntity> selectListOfProjects(Map<String, Object> params);
/**
* 项目列表
@ -67,7 +67,7 @@ public class PropertyProjectServiceImpl extends BaseServiceImpl<PropertyProjectD
@Override
public PageData<PropertyProjectDTO> page(Map<String, Object> params) {
IPage<PropertyProjectEntity> page = getPage(params);
List<PropertyProjectEntity> entityList = baseDao.selectListOfGroups(params);
List<PropertyProjectEntity> entityList = baseDao.selectListOfProjects(params);
List<PropertyProjectDTO> list = ConvertUtils.sourceToTarget(entityList, PropertyProjectDTO.class);
return new PageData<>(list, page.getTotal());
}
@ -28,7 +28,7 @@
SORT, REVISION, DEL_FLAG, CREATED_BY, CREATED_TIME, UPDATED_BY, UPDATED_TIME, PARENT_DEPT_IDS,
PARENT_DEPT_NAMES, ALL_DEPT_IDS, ALL_DEPT_NAMES
</sql>
<select id="selectListOfGroups" resultType="com.elink.esua.epdc.modules.project.entity.PropertyProjectEntity">
<select id="selectListOfProjects" resultType="com.elink.esua.epdc.modules.project.entity.PropertyProjectEntity">
SELECT
<include refid="Base_Column_List" />
FROM