DataInterfaceVariateService.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. package jnpf.base.service;
  2. import jnpf.base.Page;
  3. import jnpf.base.entity.DataInterfaceVariateEntity;
  4. import java.util.List;
  5. import java.util.Map;
  6. /**
  7. * 数据接口业务层
  8. *
  9. * @author JNPF开发平台组
  10. * @version V3.1.0
  11. * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
  12. * @date 2021-03-23
  13. */
  14. public interface DataInterfaceVariateService extends SuperService<DataInterfaceVariateEntity> {
  15. /**
  16. * 列表
  17. * @param id
  18. * @param page
  19. * @return
  20. */
  21. List<DataInterfaceVariateEntity> getList(String id, Page page);
  22. /**
  23. * 详情
  24. *
  25. * @param id
  26. * @return
  27. */
  28. DataInterfaceVariateEntity getInfo(String id);
  29. /**
  30. * 判断名称是否重复
  31. *
  32. * @param entity
  33. * @return
  34. */
  35. boolean isExistByFullName(DataInterfaceVariateEntity entity);
  36. /**
  37. * 添加
  38. *
  39. * @param entity
  40. * @return
  41. */
  42. boolean create(DataInterfaceVariateEntity entity);
  43. /**
  44. * 修改
  45. *
  46. * @param entity
  47. * @return
  48. */
  49. boolean update(DataInterfaceVariateEntity entity);
  50. /**
  51. * 删除
  52. *
  53. * @param entity
  54. * @return
  55. */
  56. boolean delete(DataInterfaceVariateEntity entity);
  57. /**
  58. * 通过id获取列表
  59. *
  60. * @param ids
  61. * @return
  62. */
  63. List<DataInterfaceVariateEntity> getListByIds(List<String> ids);
  64. boolean update(Map<String, String> map, List<DataInterfaceVariateEntity> variateEntities);
  65. /**
  66. * 通过名称获取变量
  67. *
  68. * @param fullName
  69. */
  70. DataInterfaceVariateEntity getInfoByFullName(String fullName);
  71. }