DaZsdaDAO.java 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. package com.huimv.da.dao;
  2. import com.huimv.busi.base.dto.ResponseBean;
  3. import com.huimv.busi.da.dto.DaZsdaDTO;
  4. import com.huimv.da.dataobject.DaZsda;
  5. import com.huimv.da.dataobject.DaZsdaExample;
  6. import com.huimv.web.base.PageBean;
  7. import java.util.List;
  8. import java.util.Map;
  9. public interface DaZsdaDAO {
  10. /**
  11. * This method was generated by Apache iBATIS ibator.
  12. * This method corresponds to the database table da_zsda
  13. *
  14. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  15. */
  16. int countByExample(DaZsdaExample example);
  17. /**
  18. * This method was generated by Apache iBATIS ibator.
  19. * This method corresponds to the database table da_zsda
  20. *
  21. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  22. */
  23. int deleteByExample(DaZsdaExample example);
  24. /**
  25. * This method was generated by Apache iBATIS ibator.
  26. * This method corresponds to the database table da_zsda
  27. *
  28. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  29. */
  30. int deleteByPrimaryKey(Integer id);
  31. /**
  32. * This method was generated by Apache iBATIS ibator.
  33. * This method corresponds to the database table da_zsda
  34. *
  35. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  36. */
  37. void insert(DaZsda record);
  38. /**
  39. * This method was generated by Apache iBATIS ibator.
  40. * This method corresponds to the database table da_zsda
  41. *
  42. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  43. */
  44. void insertSelective(DaZsda record);
  45. /**
  46. * This method was generated by Apache iBATIS ibator.
  47. * This method corresponds to the database table da_zsda
  48. *
  49. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  50. */
  51. List<DaZsda> selectByExample(DaZsdaExample example);
  52. /**
  53. * This method was generated by Apache iBATIS ibator.
  54. * This method corresponds to the database table da_zsda
  55. *
  56. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  57. */
  58. DaZsda selectByPrimaryKey(Integer id);
  59. /**
  60. * This method was generated by Apache iBATIS ibator.
  61. * This method corresponds to the database table da_zsda
  62. *
  63. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  64. */
  65. int updateByExampleSelective(DaZsda record, DaZsdaExample example);
  66. /**
  67. * This method was generated by Apache iBATIS ibator.
  68. * This method corresponds to the database table da_zsda
  69. *
  70. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  71. */
  72. int updateByExample(DaZsda record, DaZsdaExample example);
  73. /**
  74. * This method was generated by Apache iBATIS ibator.
  75. * This method corresponds to the database table da_zsda
  76. *
  77. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  78. */
  79. int updateByPrimaryKeySelective(DaZsda record);
  80. /**
  81. * This method was generated by Apache iBATIS ibator.
  82. * This method corresponds to the database table da_zsda
  83. *
  84. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  85. */
  86. int updateByPrimaryKey(DaZsda record);
  87. DaZsda selectZsdaByParam(DaZsda daZsda);
  88. int countZsdaByParam(DaZsda daZsda);
  89. ResponseBean getZsdaByParam(Map<String, Object> paramMap, PageBean pageBean) throws Exception;
  90. DaZsda getZsdaById(Map<String, Object> paramMap) throws Exception;
  91. List<DaZsda> selectZSMCdaByParam(Map<String, Object> paramMap, PageBean pageBean);
  92. public DaZsda getZsdaByJqid(Map<String, Object> paramMap) throws Exception;
  93. public List<DaZsda> getZsdaListByParam(Map<String, Object> paramMap);
  94. /**
  95. * 获取临时排序的猪舍列表
  96. */
  97. public String getZsidListByParam(Map<String, Object> paramMap);
  98. /**
  99. * 获取猪舍列表
  100. */
  101. public List<DaZsda> getZsxxListByParam(Map<String, Object> paramMap);
  102. public List<DaZsdaDTO> getZsdtoByXlh(Map<String, Object> paramMap);
  103. /**
  104. * 统计表下有几个猪舍
  105. */
  106. public int countZs(Map<String, Object> paramMap);
  107. /**
  108. * 获取临时排序的猪舍列表 只有普通舍和测定舍
  109. */
  110. public String getPtZsidListByParam(Map<String, Object> paramMap);
  111. /**
  112. * 批量更新猪舍区域
  113. */
  114. public void updateZsqyByParam(List<DaZsda> paramMapList);
  115. /**
  116. * 根据JQID查询当前栏期
  117. * @param jqid
  118. * @return DQLQ
  119. */
  120. public String selectDqlqfromzsdaAndJqdaByJqid(String jqid);
  121. public List<DaZsda> selectZsxxByDgds(Map<String, Object> paramMap);
  122. public List<DaZsda> selectZsxxByLxds(Map<String, Object> paramMap);
  123. }