SjSscssjDAO.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. package com.huimv.sj.dao;
  2. import java.util.Date;
  3. import java.util.List;
  4. import java.util.Map;
  5. import com.huimv.busi.base.dto.ResponseBean;
  6. import com.huimv.sj.dataobject.SjHkdl;
  7. import com.huimv.sj.dataobject.SjHksl;
  8. import com.huimv.sj.dataobject.SjSscssj;
  9. import com.huimv.sj.dataobject.SjSscssjExample;
  10. import com.huimv.web.base.PageBean;
  11. public interface SjSscssjDAO {
  12. /**
  13. * This method was generated by Apache iBATIS ibator.
  14. * This method corresponds to the database table sj_sscssj
  15. *
  16. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  17. */
  18. int countByExample(SjSscssjExample example);
  19. /**
  20. * This method was generated by Apache iBATIS ibator.
  21. * This method corresponds to the database table sj_sscssj
  22. *
  23. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  24. */
  25. int deleteByExample(SjSscssjExample example);
  26. /**
  27. * This method was generated by Apache iBATIS ibator.
  28. * This method corresponds to the database table sj_sscssj
  29. *
  30. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  31. */
  32. int deleteByPrimaryKey(Integer id);
  33. /**
  34. * This method was generated by Apache iBATIS ibator.
  35. * This method corresponds to the database table sj_sscssj
  36. *
  37. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  38. */
  39. void insert(SjSscssj record);
  40. /**
  41. * This method was generated by Apache iBATIS ibator.
  42. * This method corresponds to the database table sj_sscssj
  43. *
  44. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  45. */
  46. void insertSelective(SjSscssj record);
  47. /**
  48. * This method was generated by Apache iBATIS ibator.
  49. * This method corresponds to the database table sj_sscssj
  50. *
  51. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  52. */
  53. List<SjSscssj> selectByExample(SjSscssjExample example);
  54. /**
  55. * This method was generated by Apache iBATIS ibator.
  56. * This method corresponds to the database table sj_sscssj
  57. *
  58. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  59. */
  60. SjSscssj selectByPrimaryKey(Integer id);
  61. /**
  62. * This method was generated by Apache iBATIS ibator.
  63. * This method corresponds to the database table sj_sscssj
  64. *
  65. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  66. */
  67. int updateByExampleSelective(SjSscssj record, SjSscssjExample example);
  68. /**
  69. * This method was generated by Apache iBATIS ibator.
  70. * This method corresponds to the database table sj_sscssj
  71. *
  72. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  73. */
  74. int updateByExample(SjSscssj record, SjSscssjExample example);
  75. /**
  76. * This method was generated by Apache iBATIS ibator.
  77. * This method corresponds to the database table sj_sscssj
  78. *
  79. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  80. */
  81. int updateByPrimaryKeySelective(SjSscssj record);
  82. /**
  83. * This method was generated by Apache iBATIS ibator.
  84. * This method corresponds to the database table sj_sscssj
  85. *
  86. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  87. */
  88. int updateByPrimaryKey(SjSscssj record);
  89. /**
  90. * 得到指定条件采食记录的最大时间
  91. */
  92. public Date selectMaxSscssjTimeByParam(Map<String, Object> searchParam);
  93. /**
  94. * 插入动物访问记录
  95. */
  96. public void insertSscssjByParam(List<Map<String, Object>> paramMapList);
  97. int countSlwhByExample(SjSscssjExample example);
  98. List<SjSscssj> selectSlwhByExample(SjSscssjExample example);
  99. /**
  100. * 上料信息参数查询
  101. */
  102. ResponseBean selectDaSlxxByParam(Map<String, Object> paramMap, PageBean pageBean) throws Exception;
  103. /**
  104. * 存储过程
  105. */
  106. void callPrcSlxx(Map<String, Object> searchParam);
  107. /**
  108. * 根据参数查询传感器
  109. * @param searchParam
  110. * @return
  111. */
  112. public List<SjSscssj> selectHkcsCgqidByParam(Map<String, Object> searchParam);
  113. /**
  114. * 根据参数查询全程
  115. * @param searchParam
  116. * @return
  117. */
  118. public List<SjSscssj> selectQccsByParam(Map<String, Object> searchParam);
  119. /**
  120. * 根据参数查询当天
  121. * @param searchParam
  122. * @return
  123. */
  124. public List<SjSscssj> selectDqcsByParam(Map<String, Object> searchParam);
  125. }