OrganizationContactBookMapper.java 3.3 KB

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