package com.huimv.da.dao; import com.huimv.busi.da.dto.DaDwsDTO; import com.huimv.da.dataobject.DaLqwhxx; import com.huimv.da.dataobject.DaLqwhxxExample; import java.util.List; public interface DaLqwhxxDAO { /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int countByExample(DaLqwhxxExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int deleteByExample(DaLqwhxxExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int deleteByPrimaryKey(Integer id); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ void insert(DaLqwhxx record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ void insertSelective(DaLqwhxx record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ List selectByExample(DaLqwhxxExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ DaLqwhxx selectByPrimaryKey(Integer id); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int updateByExampleSelective(DaLqwhxx record, DaLqwhxxExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int updateByExample(DaLqwhxx record, DaLqwhxxExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int updateByPrimaryKeySelective(DaLqwhxx record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_lqwhxx * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int updateByPrimaryKey(DaLqwhxx record); /** * 选择栏期维护列表 */ List selectMCZSLQLQWHByExample(DaLqwhxxExample example); /** * 计算动物数量 */ DaDwsDTO selectDwsFromDaLqwhxxByLqid(Integer lqid); /** * 根据lqid和发生时间计算动物数量 * @param record * @return */ DaDwsDTO selectDwsFromDaLqwhxxByLqidAndFssj(DaLqwhxx record); /** * 选择栏期维护 */ DaLqwhxx selectDaLqwhxxByLqid(Integer lqid); /** * 更新栏期维护 */ int updateZlsByDaLqwhxxId(Integer id); }