UserIdentityMapper.java 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. package com.goafanti.common.dao;
  2. import com.goafanti.app.bo.ExpertsListBo;
  3. import com.goafanti.app.bo.consultantListBo;
  4. import com.goafanti.comment.bo.CommentDetailResult;
  5. import com.goafanti.common.model.UserIdentity;
  6. import com.goafanti.common.model.UserIdentityExample;
  7. import com.goafanti.core.mybatis.page.Pagination;
  8. import com.goafanti.user.bo.AuditorUserIdentityDetailBo;
  9. import com.goafanti.user.bo.UserIdentityBo;
  10. import com.goafanti.user.bo.UserIdentityRecommended;
  11. import com.goafanti.user.bo.UserNames;
  12. import java.util.List;
  13. import org.apache.ibatis.annotations.Param;
  14. public interface UserIdentityMapper {
  15. /**
  16. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  17. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  18. */
  19. long countByExample(UserIdentityExample example);
  20. /**
  21. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  22. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  23. */
  24. int deleteByExample(UserIdentityExample example);
  25. /**
  26. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  27. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  28. */
  29. int deleteByPrimaryKey(String id);
  30. /**
  31. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  32. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  33. */
  34. int insert(UserIdentity record);
  35. /**
  36. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  37. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  38. */
  39. int insertSelective(UserIdentity record);
  40. /**
  41. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  42. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  43. */
  44. List<UserIdentity> selectByExample(UserIdentityExample example);
  45. /**
  46. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  47. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  48. */
  49. UserIdentity selectByPrimaryKey(String id);
  50. /**
  51. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  52. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  53. */
  54. int updateByExampleSelective(@Param("record") UserIdentity record, @Param("example") UserIdentityExample example);
  55. /**
  56. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  57. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  58. */
  59. int updateByExample(@Param("record") UserIdentity record, @Param("example") UserIdentityExample example);
  60. /**
  61. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  62. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  63. */
  64. int updateByPrimaryKeySelective(UserIdentity record);
  65. /**
  66. * This method was generated by MyBatis Generator. This method corresponds to the database table user_identity
  67. * @mbg.generated Fri Dec 29 09:20:50 CST 2017
  68. */
  69. int updateByPrimaryKey(UserIdentity record);
  70. UserIdentity selectUserIdentityByUserId(String uid);
  71. UserIdentityBo selectUserIdentityBoByUserId(String uid);
  72. AuditorUserIdentityDetailBo selectAuditorUserIdentityByUserId(String uid);
  73. List<UserNames> selectManagerUserNames(String aid);
  74. List<UserNames> selectAllUserNames(String aid);
  75. List<UserNames> selectManagerAchievementUserOwner(@Param("aid")String aid, @Param("name")String name);
  76. List<UserNames> selectAchievementUserOwner(@Param("aid")String aid, @Param("name")String name);
  77. Pagination<UserIdentityBo> expertsList(String industry, Integer pNo, Integer pSize);
  78. UserIdentityBo selectUserIdentityByUid(String uid);
  79. consultantListBo selectconsultantByUid(String id);
  80. List<UserIdentityRecommended> getAppHomeRecommended();
  81. List<consultantListBo> getConsultantList(Integer size);
  82. List<UserIdentityBo>getExperts(Integer size);
  83. ExpertsListBo selectAppExpertsDetail(@Param("id")String id, @Param("uid")String uid);
  84. CommentDetailResult expertsCommentByUid(String id);
  85. UserIdentity getUserIdentityByUid(String uid);
  86. Integer updateAuditing(UserIdentity identity);
  87. }