package com.goafanti.common.dao; import com.goafanti.business.bo.BusinessVarietiesBo; import com.goafanti.business.bo.VarietiesBo; import com.goafanti.common.model.BusinessVarieties; import com.goafanti.common.model.BusinessVarietiesExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface BusinessVarietiesMapper { /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ long countByExample(BusinessVarietiesExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ int deleteByExample(BusinessVarietiesExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ int deleteByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ int insert(BusinessVarieties record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ int insertSelective(BusinessVarieties record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ List selectByExample(BusinessVarietiesExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ BusinessVarieties selectByPrimaryKey(String id); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ int updateByExampleSelective(@Param("record") BusinessVarieties record, @Param("example") BusinessVarietiesExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ int updateByExample(@Param("record") BusinessVarieties record, @Param("example") BusinessVarietiesExample example); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ int updateByPrimaryKeySelective(BusinessVarieties record); /** * This method was generated by MyBatis Generator. This method corresponds to the database table business_varieties * @mbg.generated Tue Jan 09 15:08:39 CST 2018 */ int updateByPrimaryKey(BusinessVarieties record); String getCount(String superId); String getCid(String superId); List getSuperList(); BusinessVarietiesBo editVarieties(@Param("id")String id); String ThanCid(String cid); int getcname(String cname);//获取有多少条 List selectSuperid(String spuerId); String getThisCid(String id); String getThisCname(String cid); List getListId(); int getLayer(String superId); List getVarieties(); String getCidMax(String superId); String getSortMax(); BusinessVarieties selectBySort(Integer sort); }