IServiceBusinessServiceDao.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. package com.java110.community.dao;
  2. import com.java110.utils.exception.DAOException;
  3. import java.util.List;
  4. import java.util.Map;
  5. /**
  6. * 服务实现组件内部之间使用,没有给外围系统提供服务能力
  7. * 服务实现服务接口类,要求全部以字符串传输,方便微服务化
  8. * 新建客户,修改客户,删除客户,查询客户等功能
  9. *
  10. * Created by wuxw on 2016/12/27.
  11. */
  12. public interface IServiceBusinessServiceDao {
  13. /**
  14. * 保存 服务实现信息
  15. * @param businessServiceBusinessInfo 服务实现信息 封装
  16. * @throws DAOException 操作数据库异常
  17. */
  18. void saveBusinessServiceBusinessInfo(Map businessServiceBusinessInfo) throws DAOException;
  19. /**
  20. * 查询服务实现信息(business过程)
  21. * 根据bId 查询服务实现信息
  22. * @param info bId 信息
  23. * @return 服务实现信息
  24. * @throws DAOException DAO异常
  25. */
  26. List<Map> getBusinessServiceBusinessInfo(Map info) throws DAOException;
  27. /**
  28. * 保存 服务实现信息 Business数据到 Instance中
  29. * @param info
  30. * @throws DAOException DAO异常
  31. */
  32. void saveServiceBusinessInfoInstance(Map info) throws DAOException;
  33. /**
  34. * 查询服务实现信息(instance过程)
  35. * 根据bId 查询服务实现信息
  36. * @param info bId 信息
  37. * @return 服务实现信息
  38. * @throws DAOException DAO异常
  39. */
  40. List<Map> getServiceBusinessInfo(Map info) throws DAOException;
  41. /**
  42. * 修改服务实现信息
  43. * @param info 修改信息
  44. * @throws DAOException DAO异常
  45. */
  46. void updateServiceBusinessInfoInstance(Map info) throws DAOException;
  47. /**
  48. * 查询服务实现总数
  49. *
  50. * @param info 服务实现信息
  51. * @return 服务实现数量
  52. */
  53. int queryServiceBusinesssCount(Map info);
  54. /**
  55. * 保存服务实现
  56. *
  57. * @param info 数据对象分享
  58. * @return 小区下的小区楼记录数
  59. */
  60. int saveServiceBusiness(Map info);
  61. /**
  62. * 修改服务实现
  63. *
  64. * @param info 数据对象分享
  65. * @return 小区下的小区楼记录数
  66. */
  67. int updateServiceBusiness(Map info);
  68. /**
  69. * 删除服务实现
  70. *
  71. * @param info 数据对象分享
  72. * @return 小区下的小区楼记录数
  73. */
  74. int deleteServiceBusiness(Map info);
  75. }