CadastreFileMapper.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. package com.siwei.apply.mapper;
  2. import com.siwei.apply.domain.CadastreFile;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.Collection;
  6. import java.util.List;
  7. import java.util.Map;
  8. @Mapper
  9. public interface CadastreFileMapper {
  10. /**
  11. * 新增
  12. */
  13. void add(CadastreFile cadastreFile);
  14. /**
  15. * 根据ID查询
  16. */
  17. CadastreFile get(String id);
  18. /**
  19. * 更新
  20. */
  21. void update(CadastreFile cadastreFile);
  22. /**
  23. * 删除
  24. */
  25. void delete(String id);
  26. /**
  27. * 批量删除
  28. */
  29. void batchDelete(@Param("ids") List<String> ids);
  30. /**
  31. * 列表查询
  32. */
  33. List<CadastreFile> getList(CadastreFile cadastreFile);
  34. /**
  35. * 分页列表查询
  36. */
  37. List<CadastreFile> getListByFilter(com.siwei.apply.domain.vo.CadastreFileFilterVo filterVo);
  38. /**
  39. * 查询总数(用于分页)
  40. */
  41. int getCountByFilter(com.siwei.apply.domain.vo.CadastreFileFilterVo filterVo);
  42. /**
  43. * 查询当前表的所有列
  44. */
  45. List<String> selectTableCollum(String tableName);
  46. List<Map<String,String>> selectTableCollumAndType(@Param("tableName") String tableName);
  47. /**
  48. * 查询所有表名
  49. */
  50. List<String> selectAllTable();
  51. /**
  52. * 查询所有表名无视图
  53. */
  54. List<String> selectAllTableNoView();
  55. int insertTableData(@Param("tableName") String tableName, @Param("data") Map<String, Object> data, @Param("shpDbSRID") Integer shpDbSRID);
  56. String selectGeoms(String tableName);
  57. /**
  58. * 增加valid_flag字段
  59. */
  60. void addValidFlagColumn(@Param("tableName") String tableName);
  61. }