OrganizationContactBookMapper.java 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.OrganizationContactBook;
  3. import com.goafanti.common.model.OrganizationContactBookExample;
  4. import java.util.List;
  5. import org.apache.ibatis.annotations.Param;
  6. public interface OrganizationContactBookMapper {
  7. /**
  8. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  9. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  10. */
  11. long countByExample(OrganizationContactBookExample example);
  12. /**
  13. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  14. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  15. */
  16. int deleteByExample(OrganizationContactBookExample example);
  17. /**
  18. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  19. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  20. */
  21. int deleteByPrimaryKey(String id);
  22. /**
  23. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  24. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  25. */
  26. int insert(OrganizationContactBook record);
  27. /**
  28. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  29. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  30. */
  31. int insertSelective(OrganizationContactBook record);
  32. /**
  33. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  34. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  35. */
  36. List<OrganizationContactBook> selectByExample(OrganizationContactBookExample example);
  37. /**
  38. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  39. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  40. */
  41. OrganizationContactBook selectByPrimaryKey(String id);
  42. /**
  43. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  44. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  45. */
  46. int updateByExampleSelective(@Param("record") OrganizationContactBook record,
  47. @Param("example") OrganizationContactBookExample example);
  48. /**
  49. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  50. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  51. */
  52. int updateByExample(@Param("record") OrganizationContactBook record,
  53. @Param("example") OrganizationContactBookExample example);
  54. /**
  55. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  56. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  57. */
  58. int updateByPrimaryKeySelective(OrganizationContactBook record);
  59. /**
  60. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_contact_book
  61. * @mbg.generated Sun Nov 19 20:34:03 CST 2017
  62. */
  63. int updateByPrimaryKey(OrganizationContactBook record);
  64. int checkContacts(@Param("uid")String uid,@Param("mobile")String mobile,@Param("aid")String aid);
  65. int updateMainContact(@Param("ocbId")String ocbId);
  66. int updateSubContact(@Param("uid")String uid);
  67. void updateDimissionTransfer(@Param("aid")String aid, @Param("transferId")String transferId);
  68. void updateAdmin(@Param("uid")String uid, @Param("aid")String aid);
  69. }