OrganizationIdentityMapper.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.OrganizationIdentity;
  3. import com.goafanti.common.model.OrganizationIdentityExample;
  4. import com.goafanti.user.bo.AuditorOrgIdentityDetailBo;
  5. import com.goafanti.user.bo.OrgBasicInfoBo;
  6. import com.goafanti.user.bo.OrgIdentityBo;
  7. import com.goafanti.user.bo.OrgIdentityDetailBo;
  8. import com.goafanti.user.bo.OrgUnitNames;
  9. import java.util.List;
  10. import org.apache.ibatis.annotations.Param;
  11. public interface OrganizationIdentityMapper {
  12. /**
  13. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  14. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  15. */
  16. long countByExample(OrganizationIdentityExample example);
  17. /**
  18. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  19. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  20. */
  21. int deleteByExample(OrganizationIdentityExample example);
  22. /**
  23. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  24. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  25. */
  26. int deleteByPrimaryKey(String id);
  27. /**
  28. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  29. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  30. */
  31. int insert(OrganizationIdentity record);
  32. /**
  33. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  34. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  35. */
  36. int insertSelective(OrganizationIdentity record);
  37. /**
  38. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  39. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  40. */
  41. List<OrganizationIdentity> selectByExample(OrganizationIdentityExample example);
  42. /**
  43. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  44. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  45. */
  46. OrganizationIdentity selectByPrimaryKey(String id);
  47. /**
  48. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  49. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  50. */
  51. int updateByExampleSelective(@Param("record") OrganizationIdentity record,
  52. @Param("example") OrganizationIdentityExample example);
  53. /**
  54. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  55. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  56. */
  57. int updateByExample(@Param("record") OrganizationIdentity record,
  58. @Param("example") OrganizationIdentityExample example);
  59. /**
  60. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  61. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  62. */
  63. int updateByPrimaryKeySelective(OrganizationIdentity record);
  64. /**
  65. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  66. * @mbg.generated Sun Nov 12 10:00:10 CST 2017
  67. */
  68. int updateByPrimaryKey(OrganizationIdentity record);
  69. OrganizationIdentity selectOrgIdentityByUserId(String uid);
  70. OrgBasicInfoBo selectBasicInfo(String uid, int year);
  71. OrgIdentityDetailBo selectOrgIdentityDetailByUserId(String uid);
  72. AuditorOrgIdentityDetailBo selectAuditorOrgIdentityDetailByUserId(@Param("uid")String uid, @Param("year")Integer year);
  73. OrgIdentityBo selectOrgIdentityBoByUserId(String uid);
  74. List<OrgUnitNames> selectManagerUnitNames(String aid);
  75. List<OrgUnitNames> selectAllOrgIndentity(String aid);
  76. List<OrgUnitNames> selectManagerAchievementOrgOwner(@Param("aid")String aid, @Param("name")String name);
  77. List<OrgUnitNames> selectAchievementOrgOwner(@Param("aid")String aid, @Param("name")String name);
  78. }