| | |
| | | } |
| | | |
| | | @Override |
| | | public List<MetaEntity> selectGdbByGuid(String guid) { |
| | | return metaMapper.selectGdbByGuid(guid); |
| | | } |
| | | |
| | | @Override |
| | | public Integer selectMetasForCount(String depcode, String dirs, String name) { |
| | | depcode = StringHelper.getRightLike(depcode); |
| | | name = StringHelper.getLikeUpperStr(name); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public MetaEntity selectByGuid(String guid, String tab) { |
| | | return metaMapper.selectByGuid(guid, tab); |
| | | public MetaEntity selectByGuid(String guid, String dircode, String tab) { |
| | | return metaMapper.selectByGuid(guid, dircode, tab); |
| | | } |
| | | |
| | | @Override |
| | | public List<MetaEntity> selectByIdsForTab(String ids) { |
| | | return metaMapper.selectByIdsForTab(ids); |
| | | } |
| | | |
| | | @Override |
| | | public List<MetaEntity> selectByIds(String ids) { |
| | | return metaMapper.selectByIds(ids); |
| | | } |
| | | |
| | | @Override |
| | |
| | | if (str.contains("bs.s_explorationpoint ")) { |
| | | list.add(str.replace("bs.s_explorationpoint ", "bs.s_surveyworksite ")); |
| | | } |
| | | if (str.contains("bs.m_surface_deformation_data ")) { |
| | | list.add(str.replace("bs.m_surface_deformation_data ", "bs.m_surface_deformation_data_date ")); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | |
| | | return; |
| | | } |
| | | |
| | | MetaEntity me = selectByGuid(guid, null); |
| | | MetaEntity me = selectByGuid(guid, null, null); |
| | | if (me == null) { |
| | | WebHelper.writeStr2Page(res, StaticData.NO_FILE); |
| | | return; |
| | |
| | | break; |
| | | case StaticData.JPG: |
| | | addMultiFile(uploadPath, mf, zip, params, StaticData.JPG_EXT); |
| | | break; |
| | | case StaticData.IMG: |
| | | addMultiFile(uploadPath, mf, zip, params, StaticData.IMG_EXT); |
| | | break; |
| | |
| | | addMultiFile(uploadPath, mf, zip, params, StaticData.SHP_EXT); |
| | | break; |
| | | case StaticData.GDB: |
| | | continue; |
| | | case StaticData.OSGB: |
| | | addFolderFile(uploadPath, mf, zip, params); |
| | | break; |
| | | default: |