SjJllcsjDAO.java 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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.sj.dataobject.SjJllcsj;
  6. import com.huimv.sj.dataobject.SjJllcsjExample;
  7. public interface SjJllcsjDAO {
  8. /**
  9. * This method was generated by Apache iBATIS ibator.
  10. * This method corresponds to the database table sj_jllcsj
  11. *
  12. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  13. */
  14. int countByExample(SjJllcsjExample example);
  15. /**
  16. * This method was generated by Apache iBATIS ibator.
  17. * This method corresponds to the database table sj_jllcsj
  18. *
  19. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  20. */
  21. int deleteByExample(SjJllcsjExample example);
  22. /**
  23. * This method was generated by Apache iBATIS ibator.
  24. * This method corresponds to the database table sj_jllcsj
  25. *
  26. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  27. */
  28. int deleteByPrimaryKey(Integer id);
  29. /**
  30. * This method was generated by Apache iBATIS ibator.
  31. * This method corresponds to the database table sj_jllcsj
  32. *
  33. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  34. */
  35. void insert(SjJllcsj record);
  36. /**
  37. * This method was generated by Apache iBATIS ibator.
  38. * This method corresponds to the database table sj_jllcsj
  39. *
  40. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  41. */
  42. void insertSelective(SjJllcsj record);
  43. /**
  44. * This method was generated by Apache iBATIS ibator.
  45. * This method corresponds to the database table sj_jllcsj
  46. *
  47. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  48. */
  49. List<SjJllcsj> selectByExample(SjJllcsjExample example);
  50. /**
  51. * This method was generated by Apache iBATIS ibator.
  52. * This method corresponds to the database table sj_jllcsj
  53. *
  54. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  55. */
  56. SjJllcsj selectByPrimaryKey(Integer id);
  57. /**
  58. * This method was generated by Apache iBATIS ibator.
  59. * This method corresponds to the database table sj_jllcsj
  60. *
  61. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  62. */
  63. int updateByExampleSelective(SjJllcsj record, SjJllcsjExample example);
  64. /**
  65. * This method was generated by Apache iBATIS ibator.
  66. * This method corresponds to the database table sj_jllcsj
  67. *
  68. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  69. */
  70. int updateByExample(SjJllcsj record, SjJllcsjExample example);
  71. /**
  72. * This method was generated by Apache iBATIS ibator.
  73. * This method corresponds to the database table sj_jllcsj
  74. *
  75. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  76. */
  77. int updateByPrimaryKeySelective(SjJllcsj record);
  78. /**
  79. * This method was generated by Apache iBATIS ibator.
  80. * This method corresponds to the database table sj_jllcsj
  81. *
  82. * @ibatorgenerated Fri Apr 01 11:28:45 CST 2016
  83. */
  84. int updateByPrimaryKey(SjJllcsj record);
  85. /**
  86. * 获取最大记录时间
  87. * @param searchParam
  88. * @return
  89. */
  90. public Date selectMaxJllcsjTimeByParam(Map<String, Object> searchParam);
  91. /**
  92. * 插入数据
  93. * @param paramMapList
  94. */
  95. public void insertJllcsjByParam(List<SjJllcsj> paramMapList);
  96. /**
  97. * 获取全程采食量统计图
  98. * @param paramMap
  99. * @return
  100. */
  101. public List<SjJllcsj> selectJllcsjCslByParam(Map<String, Object> paramMap);
  102. /**
  103. * 获取lcid列表
  104. * @param paramMap
  105. * @return
  106. */
  107. public List<SjJllcsj> selectJllcsjLcidByParam(Map<String, Object> paramMap);
  108. /**
  109. * 获取所有lcid当天采食量
  110. * @param paramMap
  111. * @return
  112. */
  113. public List<SjJllcsj> selectJllcsjLccslByParam(Map<String, Object> paramMap);
  114. /**
  115. * 获取lcid每小时采食量
  116. * @param paramMap
  117. * @return
  118. */
  119. public List<SjJllcsj> selectJllcsjLcidCslByParam(Map<String, Object> paramMap);
  120. /**
  121. * 获取料槽活跃指数
  122. * @param paramMap
  123. * @return
  124. */
  125. public List<SjJllcsj> selectJllcsjHyzsByParam(Map<String, Object> paramMap);
  126. /**
  127. * 获取总数
  128. * @param paramMap
  129. * @return
  130. */
  131. public String selectJllcsjSumcslByParam(Map<String, Object> paramMap);
  132. }