IUserAttrServiceDao.java 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package com.java110.user.dao;
  2. import com.java110.utils.exception.DAOException;
  3. import com.java110.entity.merchant.BoMerchant;
  4. import com.java110.entity.merchant.BoMerchantAttr;
  5. import com.java110.entity.merchant.Merchant;
  6. import com.java110.entity.merchant.MerchantAttr;
  7. import java.util.List;
  8. import java.util.Map;
  9. /**
  10. * 用户属性组件内部之间使用,没有给外围系统提供服务能力
  11. * 用户属性服务接口类,要求全部以字符串传输,方便微服务化
  12. * 新建客户,修改客户,删除客户,查询客户等功能
  13. *
  14. * Created by wuxw on 2016/12/27.
  15. */
  16. public interface IUserAttrServiceDao {
  17. /**
  18. * 保存 用户属性信息
  19. * @param businessUserAttrInfo 用户属性信息 封装
  20. * @throws DAOException 操作数据库异常
  21. */
  22. void saveBusinessUserAttrInfo(Map businessUserAttrInfo) throws DAOException;
  23. /**
  24. * 查询用户属性信息(business过程)
  25. * 根据bId 查询用户属性信息
  26. * @param info bId 信息
  27. * @return 用户属性信息
  28. * @throws DAOException DAO异常
  29. */
  30. List<Map> getBusinessUserAttrInfo(Map info) throws DAOException;
  31. /**
  32. * 保存 用户属性信息 Business数据到 Instance中
  33. * @param info
  34. * @throws DAOException DAO异常
  35. */
  36. void saveUserAttrInfoInstance(Map info) throws DAOException;
  37. /**
  38. * 查询用户属性信息(instance过程)
  39. * 根据bId 查询用户属性信息
  40. * @param info bId 信息
  41. * @return 用户属性信息
  42. * @throws DAOException DAO异常
  43. */
  44. List<Map> getUserAttrInfo(Map info) throws DAOException;
  45. /**
  46. * 修改用户属性信息
  47. * @param info 修改信息
  48. * @throws DAOException DAO异常
  49. */
  50. void updateUserAttrInfoInstance(Map info) throws DAOException;
  51. /**
  52. * 查询用户属性总数
  53. *
  54. * @param info 用户属性信息
  55. * @return 用户属性数量
  56. */
  57. int queryUserAttrsCount(Map info);
  58. /**
  59. * 保存用户属性
  60. * @param beanCovertMap
  61. * @return
  62. */
  63. int saveUserAttr(Map beanCovertMap);
  64. }