OrganizationManagementMapper.java 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package com.goafanti.common.dao;
  2. import java.util.List;
  3. import com.goafanti.organization.bo.OrganizationListOut;
  4. import com.goafanti.common.model.OrganizationManagement;
  5. import com.goafanti.common.model.OrganizationManagementExample;
  6. import org.apache.ibatis.annotations.Param;
  7. public interface OrganizationManagementMapper {
  8. /**
  9. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  10. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  11. */
  12. long countByExample(OrganizationManagementExample example);
  13. /**
  14. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  15. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  16. */
  17. int deleteByExample(OrganizationManagementExample example);
  18. /**
  19. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  20. * @mbg.generated Thu Nov 30 11:09:29 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_management
  25. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  26. */
  27. int insert(OrganizationManagement record);
  28. /**
  29. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  30. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  31. */
  32. int insertSelective(OrganizationManagement record);
  33. /**
  34. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  35. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  36. */
  37. List<OrganizationManagement> selectByExample(OrganizationManagementExample example);
  38. /**
  39. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  40. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  41. */
  42. OrganizationManagement selectByPrimaryKey(String id);
  43. /**
  44. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  45. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  46. */
  47. int updateByExampleSelective(@Param("record") OrganizationManagement record,
  48. @Param("example") OrganizationManagementExample example);
  49. /**
  50. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  51. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  52. */
  53. int updateByExample(@Param("record") OrganizationManagement record,
  54. @Param("example") OrganizationManagementExample example);
  55. /**
  56. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  57. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  58. */
  59. int updateByPrimaryKeySelective(OrganizationManagement record);
  60. /**
  61. * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management
  62. * @mbg.generated Thu Nov 30 11:09:29 CST 2017
  63. */
  64. int updateByPrimaryKey(OrganizationManagement record);
  65. List<OrganizationListOut> selectSuperId();
  66. /**
  67. * 新增
  68. * @param olo
  69. * @return
  70. */
  71. int insert1(OrganizationListOut olo);
  72. /**
  73. * 根�组织�称查组织编�?
  74. */
  75. String selectDepNoByName(String name);
  76. /**
  77. * 查询相�上级下编�数�?
  78. */
  79. int selectDepNoCount(String depNo);
  80. /**
  81. * 根�组织�称查找负责�?
  82. */
  83. String selectManagerIdByName(String name);
  84. }