package com.goafanti.common.dao; import java.util.List; import com.goafanti.organization.bo.OrganizationListOut; import com.goafanti.common.model.OrganizationManagement; import com.goafanti.common.model.OrganizationManagementExample; import org.apache.ibatis.annotations.Param; public interface OrganizationManagementMapper { /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ long countByExample(OrganizationManagementExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ int deleteByExample(OrganizationManagementExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ int deleteByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ int insert(OrganizationManagement record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ int insertSelective(OrganizationManagement record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ List selectByExample(OrganizationManagementExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ OrganizationManagement selectByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ int updateByExampleSelective(@Param("record") OrganizationManagement record, @Param("example") OrganizationManagementExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ int updateByExample(@Param("record") OrganizationManagement record, @Param("example") OrganizationManagementExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ int updateByPrimaryKeySelective(OrganizationManagement record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table organization_management * @mbg.generated Thu Nov 30 11:09:29 CST 2017 */ int updateByPrimaryKey(OrganizationManagement record); List selectSuperId(); /** * 新增 * @param olo * @return */ int insert1(OrganizationListOut olo); /** * 根据组织名称查组织编?? */ String selectDepNoByName(String name); /** * 查询相同上级下编号数?? */ int selectDepNoCount(String depNo); /** * 根据组织名称查找负责?? */ String selectManagerIdByName(String name); }