OrganizationIdentityMapper.java 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.OrganizationIdentity;
  3. import com.goafanti.user.bo.AuditorOrgIdentityDetailBo;
  4. import com.goafanti.user.bo.InputUserChannel;
  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 Mon Jan 04 17:27:08 CST 2021
  15. */
  16. int deleteByPrimaryKey(String id);
  17. /**
  18. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  19. * @mbg.generated Mon Jan 04 17:27:08 CST 2021
  20. */
  21. int insert(OrganizationIdentity record);
  22. /**
  23. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  24. * @mbg.generated Mon Jan 04 17:27:08 CST 2021
  25. */
  26. int insertSelective(OrganizationIdentity record);
  27. /**
  28. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  29. * @mbg.generated Mon Jan 04 17:27:08 CST 2021
  30. */
  31. OrganizationIdentity selectByPrimaryKey(String id);
  32. /**
  33. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  34. * @mbg.generated Mon Jan 04 17:27:08 CST 2021
  35. */
  36. int updateByPrimaryKeySelective(OrganizationIdentity record);
  37. /**
  38. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  39. * @mbg.generated Mon Jan 04 17:27:08 CST 2021
  40. */
  41. int updateByPrimaryKeyWithBLOBs(OrganizationIdentity record);
  42. /**
  43. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_identity
  44. * @mbg.generated Mon Jan 04 17:27:08 CST 2021
  45. */
  46. int updateByPrimaryKey(OrganizationIdentity record);
  47. OrganizationIdentity selectOrgIdentityByUserId(String uid);
  48. OrgBasicInfoBo selectBasicInfo(String uid, int year);
  49. OrgIdentityDetailBo selectOrgIdentityDetailByUserId(String uid);
  50. AuditorOrgIdentityDetailBo selectAuditorOrgIdentityDetailByUserId(@Param("uid")String uid, @Param("year")Integer year);
  51. OrgIdentityBo selectOrgIdentityBoByUserId(String uid);
  52. List<OrgUnitNames> selectManagerUnitNames(String aid);
  53. List<OrgUnitNames> selectAllOrgIndentity(String aid);
  54. List<OrgUnitNames> selectManagerAchievementOrgOwner(@Param("aid")String aid, @Param("name")String name);
  55. List<OrgUnitNames> selectAchievementOrgOwner(@Param("aid")String aid, @Param("name")String name);
  56. int updateServiceByUid(OrganizationIdentity org);
  57. void insertBatch(List<InputUserChannel> list);
  58. }