UserIdentityService.java 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. package com.goafanti.user.service;
  2. import java.util.List;
  3. import com.goafanti.app.bo.ExpertsListBo;
  4. import com.goafanti.app.bo.consultantListBo;
  5. import com.goafanti.common.bo.ReletivelyIndustry;
  6. import com.goafanti.common.bo.Result;
  7. import com.goafanti.common.bo.fieldGlossoryBo;
  8. import com.goafanti.common.model.UserIdentity;
  9. import com.goafanti.core.mybatis.page.Pagination;
  10. import com.goafanti.portal.bo.UserSubscriberListBo;
  11. import com.goafanti.user.bo.Advertisings;
  12. import com.goafanti.user.bo.AuditorUserIdentityDetailBo;
  13. import com.goafanti.user.bo.CustomerAuditListBo;
  14. import com.goafanti.user.bo.InputUserIdentity;
  15. import com.goafanti.user.bo.MyInterestedBo;
  16. import com.goafanti.user.bo.UserIdentityBo;
  17. import com.goafanti.user.bo.UserIdentityDetailAdminBo;
  18. public interface UserIdentityService {
  19. UserIdentity selectUserIdentityByUserId(String userId);
  20. UserIdentity insert(UserIdentity userIdentity);
  21. int updateByPrimaryKeySelective(UserIdentity userIdentity);
  22. UserIdentityBo selectUserIdentityBoByUserId(String uid);
  23. int updateByPrimaryKey(UserIdentity u);
  24. int saveUserIdentityProcess(Result res, UserIdentity u, String uid);
  25. int updateUserDetail(UserIdentity userIdentity, String saveSign, Integer level);
  26. UserIdentity insertByAdmin(UserIdentity ui, String saveSign);
  27. AuditorUserIdentityDetailBo selectAuditorUserIdentityByUserId(String uid);
  28. int updateUserDetailByAuditAdmin(UserIdentity ui, String aid, String mid, Integer level);
  29. Pagination<UserSubscriberListBo> listSubscriber(String url,String name, Integer level, String field, Integer province, Integer city,
  30. Integer area,Integer international, Integer pNo, Integer pSize, Integer auditStatus);
  31. UserIdentityDetailAdminBo selectUserIdentityByUserIdAdmin(String uid);
  32. UserIdentityBo expertsDetail(String uid);
  33. Pagination<UserIdentityBo> expertsList(String name,String industry, Integer pNo, Integer pSize);
  34. List<UserIdentityBo> getExperts(Integer size);
  35. List<fieldGlossoryBo> industryList();
  36. Pagination<consultantListBo> consultantList(Integer pNo, Integer pSize) ;
  37. consultantListBo consultantDetail(String id);
  38. List<Advertisings> advertising();
  39. Pagination<consultantListBo> portalConsultantList(Integer pNo, Integer pSize);
  40. consultantListBo portalconsultantDetail(String id);
  41. List<fieldGlossoryBo> domainList();
  42. List<consultantListBo> getConsultantList(int size);
  43. List<ReletivelyIndustry>selectIndustryReletively();
  44. Pagination<UserIdentityBo>listInterestedExpert(Integer pageNo,Integer pageSize);
  45. Pagination<MyInterestedBo> appMyInterestedExpert(Integer type,Integer pageNo, Integer pageSize);
  46. Pagination<MyInterestedBo> getExpertAuditList(InputUserIdentity identity,Integer pageNo, Integer pageSize);
  47. UserIdentity getUserIdentityByUid(String uid);
  48. Pagination<CustomerAuditListBo> selectCustomerAuditList(String name, String type, String identity, Integer pageNo, Integer pageSize);
  49. Pagination<ExpertsListBo> appExpertsList(String name, String industry, Integer sortType,Integer pageNo, Integer pageSize);
  50. ExpertsListBo selectExpertsDetail(String id);
  51. Pagination<ExpertsListBo> consultantList(String name, Integer sortType, Integer consultantType, Integer province, Integer city,
  52. Integer area, Integer pageNo, Integer pageSize);
  53. /**
  54. * 更改用户认证(顾问/专家)审核状态
  55. * @param identity
  56. * @return
  57. */
  58. Integer updateAuditing(UserIdentity identity);
  59. /**
  60. * 个人资料修改以及认证插入或者修改
  61. * @param identity
  62. * @return
  63. */
  64. Integer updateUserIdentityDetail(InputUserIdentity identity);
  65. }