package com.huimv.da.dao; import com.huimv.busi.base.dto.ResponseBean; import com.huimv.busi.da.dto.DaZsdaDTO; import com.huimv.da.dataobject.DaZsda; import com.huimv.da.dataobject.DaZsdaExample; import com.huimv.web.base.PageBean; import java.util.List; import java.util.Map; public interface DaZsdaDAO { /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int countByExample(DaZsdaExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int deleteByExample(DaZsdaExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @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_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ void insert(DaZsda record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ void insertSelective(DaZsda record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ List selectByExample(DaZsdaExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ DaZsda selectByPrimaryKey(Integer id); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int updateByExampleSelective(DaZsda record, DaZsdaExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int updateByExample(DaZsda record, DaZsdaExample example); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int updateByPrimaryKeySelective(DaZsda record); /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zsda * * @ibatorgenerated Fri May 23 16:56:30 CST 2014 */ int updateByPrimaryKey(DaZsda record); DaZsda selectZsdaByParam(DaZsda daZsda); int countZsdaByParam(DaZsda daZsda); ResponseBean getZsdaByParam(Map paramMap, PageBean pageBean) throws Exception; DaZsda getZsdaById(Map paramMap) throws Exception; List selectZSMCdaByParam(Map paramMap, PageBean pageBean); public DaZsda getZsdaByJqid(Map paramMap) throws Exception; public List getZsdaListByParam(Map paramMap); /** * 获取临时排序的猪舍列表 */ public String getZsidListByParam(Map paramMap); /** * 获取猪舍列表 */ public List getZsxxListByParam(Map paramMap); public List getZsdtoByXlh(Map paramMap); /** * 统计表下有几个猪舍 */ public int countZs(Map paramMap); /** * 获取临时排序的猪舍列表 只有普通舍和测定舍 */ public String getPtZsidListByParam(Map paramMap); /** * 批量更新猪舍区域 */ public void updateZsqyByParam(List paramMapList); /** * 根据JQID查询当前栏期 * @param jqid * @return DQLQ */ public String selectDqlqfromzsdaAndJqdaByJqid(String jqid); public List selectZsxxByDgds(Map paramMap); public List selectZsxxByLxds(Map paramMap); }