| | |
| | | } |
| | | |
| | | QueryWrapper wrapper = new QueryWrapper(); |
| | | //wrapper.eq("dirid", meta.getDirid()); |
| | | //wrapper.eq("depid", meta.getDepid()); |
| | | //wrapper.eq("verid", meta.getVerid()); |
| | | wrapper.eq("createuser", meta.getCreateUser()); |
| | | wrapper.eq("createtime", meta.getCreateTime()); |
| | | wrapper.eq("parentid", meta.getEventid()); |
| | | |
| | | Page<Object> page = new Page<>(pageIndex, pageSize); |
| | | page.addOrder(OrderItem.asc("gid")); |
| | |
| | | @Autowired |
| | | protected DataUploadService dataUploadService; |
| | | |
| | | private final static List<String> extList = new ArrayList<>(Arrays.asList(".xls", ".xlsx", ".mdb", ".zip")); |
| | | private final static List<String> EXT_LIST = new ArrayList<>(Arrays.asList(".xls", ".xlsx", ".mdb", ".zip")); |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "查询路径") |
| | |
| | | @GetMapping(value = "/selectFiles") |
| | | public ResponseMsg<List<MetaEntity>> selectFiles(String path) { |
| | | try { |
| | | List<MetaEntity> list = baseUploadService.selectFiles(path, extList); |
| | | List<MetaEntity> list = baseUploadService.selectFiles(path, EXT_LIST); |
| | | |
| | | return success(list); |
| | | } catch (Exception ex) { |