| | |
| | | * @param ids 元数据ID集合 |
| | | * @return 元数据文件集合 |
| | | */ |
| | | public List<MetaEntity> selectMetaFiles(List<Integer> ids); |
| | | public List<MetaEntity> selectMetaFiles(String ids); |
| | | |
| | | /** |
| | | * 查询Excel元数据 |
| | |
| | | return metaMapper.selectByIdsForTab(ids); |
| | | } |
| | | |
| | | @Override |
| | | public List<MetaEntity> selectMetaFiles(List<Integer> ids) { |
| | | return metaMapper.selectMetaFiles(StringHelper.join(ids, StaticData.COMMA)); |
| | | } |
| | | |
| | | @Override |
| | | public List<MetaEntity> selectMetaFiles(String ids) { |
| | | return metaMapper.selectMetaFiles(ids); |
| | | } |
| | | |
| | |
| | | <select id="selectMetaFiles" resultType="com.moon.server.entity.data.MetaEntity"> |
| | | select a.*, fn_uname(a.create_user) createName, fn_uname(a.update_user) updateName, fn_get_fullname(a.depcode, 1) depName, fn_ver(a.verid) verName, fn_get_fullname(a.dircode, 2) dirName |
| | | from lf.sys_meta a |
| | | where id in |
| | | <foreach item="id" collection="ids" index="index" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | where id in (#{ids}) or guid in (select guid from lf.sys_meta where type = 'gdb' and id in (#{ids})) |
| | | order by a.id desc |
| | | </select> |
| | | |