SjFwjlDAO.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. package com.huimv.sj.dao;
  2. import com.huimv.busi.tjt.dto.SjFwjlDTO;
  3. import com.huimv.sj.dataobject.SjFwjl;
  4. import com.huimv.sj.dataobject.SjFwjlExample;
  5. import java.util.Date;
  6. import java.util.List;
  7. import java.util.Map;
  8. public interface SjFwjlDAO {
  9. /**
  10. * This method was generated by Apache iBATIS ibator.
  11. * This method corresponds to the database table sj_fwjl
  12. *
  13. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  14. */
  15. int countByExample(SjFwjlExample example);
  16. /**
  17. * This method was generated by Apache iBATIS ibator.
  18. * This method corresponds to the database table sj_fwjl
  19. *
  20. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  21. */
  22. int deleteByExample(SjFwjlExample example);
  23. /**
  24. * This method was generated by Apache iBATIS ibator.
  25. * This method corresponds to the database table sj_fwjl
  26. *
  27. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  28. */
  29. int deleteByPrimaryKey(Integer id);
  30. /**
  31. * This method was generated by Apache iBATIS ibator.
  32. * This method corresponds to the database table sj_fwjl
  33. *
  34. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  35. */
  36. void insert(SjFwjl record);
  37. /**
  38. * This method was generated by Apache iBATIS ibator.
  39. * This method corresponds to the database table sj_fwjl
  40. *
  41. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  42. */
  43. void insertSelective(SjFwjl record);
  44. /**
  45. * This method was generated by Apache iBATIS ibator.
  46. * This method corresponds to the database table sj_fwjl
  47. *
  48. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  49. */
  50. List<SjFwjl> selectByExample(SjFwjlExample example);
  51. /**
  52. * This method was generated by Apache iBATIS ibator.
  53. * This method corresponds to the database table sj_fwjl
  54. *
  55. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  56. */
  57. SjFwjl selectByPrimaryKey(Integer id);
  58. /**
  59. * This method was generated by Apache iBATIS ibator.
  60. * This method corresponds to the database table sj_fwjl
  61. *
  62. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  63. */
  64. int updateByExampleSelective(SjFwjl record, SjFwjlExample example);
  65. /**
  66. * This method was generated by Apache iBATIS ibator.
  67. * This method corresponds to the database table sj_fwjl
  68. *
  69. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  70. */
  71. int updateByExample(SjFwjl record, SjFwjlExample example);
  72. /**
  73. * This method was generated by Apache iBATIS ibator.
  74. * This method corresponds to the database table sj_fwjl
  75. *
  76. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  77. */
  78. int updateByPrimaryKeySelective(SjFwjl record);
  79. /**
  80. * This method was generated by Apache iBATIS ibator.
  81. * This method corresponds to the database table sj_fwjl
  82. *
  83. * @ibatorgenerated Thu Jun 19 15:59:45 CST 2014
  84. */
  85. int updateByPrimaryKey(SjFwjl record);
  86. /**
  87. * 得到指定条件的访问记录的最大时间
  88. */
  89. public Date selectMaxFwjlTimeByParam(Map<String, Object> searchParam);
  90. /**
  91. * 插入动物访问记录
  92. */
  93. public void insertFwjlByParam(List<Map<String, Object>> paramMapList);
  94. /**
  95. * 插入动物临时访问记录
  96. */
  97. public void insertFwjltempByParam(List<Map<String, Object>> paramMapList);
  98. /**
  99. * 取昨天的所有访问记录
  100. */
  101. List<SjFwjl> selectByMap(Map<String, Object> searchParam);
  102. public int countDwebByParam(Map<String, Object> paramMap);
  103. /**
  104. * 温度按头数统计
  105. */
  106. public List<SjFwjl> selectWdfbByTs(Map<String, Object> searchParam);
  107. /**
  108. * 温度按时间统计
  109. */
  110. public List<SjFwjl> selectWdfbBySj(Map<String, Object> searchParam);
  111. /**
  112. * 根据温度区间查询
  113. * @param searchParam
  114. * @return
  115. */
  116. public List<SjFwjl> selectFwjlByWdqj(Map<String, Object> searchParam);
  117. /**
  118. * 访问次数
  119. */
  120. public List<SjFwjlDTO> selectFwcsByDweb(Map<String, Object> searchParam);
  121. }