SjHksdDAO.java 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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.sj.dto.SjdlslDTO;
  6. import com.huimv.sj.dataobject.SjHksd;
  7. import com.huimv.sj.dataobject.SjHksdExample;
  8. public interface SjHksdDAO {
  9. /**
  10. * This method was generated by Apache iBATIS ibator.
  11. * This method corresponds to the database table sj_hk_sd
  12. *
  13. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  14. */
  15. int countByExample(SjHksdExample example);
  16. /**
  17. * This method was generated by Apache iBATIS ibator.
  18. * This method corresponds to the database table sj_hk_sd
  19. *
  20. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  21. */
  22. int deleteByExample(SjHksdExample example);
  23. /**
  24. * This method was generated by Apache iBATIS ibator.
  25. * This method corresponds to the database table sj_hk_sd
  26. *
  27. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  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_hk_sd
  33. *
  34. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  35. */
  36. void insert(SjHksd record);
  37. /**
  38. * This method was generated by Apache iBATIS ibator.
  39. * This method corresponds to the database table sj_hk_sd
  40. *
  41. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  42. */
  43. void insertSelective(SjHksd record);
  44. /**
  45. * This method was generated by Apache iBATIS ibator.
  46. * This method corresponds to the database table sj_hk_sd
  47. *
  48. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  49. */
  50. List<SjHksd> selectByExample(SjHksdExample example);
  51. /**
  52. * This method was generated by Apache iBATIS ibator.
  53. * This method corresponds to the database table sj_hk_sd
  54. *
  55. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  56. */
  57. SjHksd selectByPrimaryKey(Integer id);
  58. /**
  59. * This method was generated by Apache iBATIS ibator.
  60. * This method corresponds to the database table sj_hk_sd
  61. *
  62. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  63. */
  64. int updateByExampleSelective(SjHksd record, SjHksdExample example);
  65. /**
  66. * This method was generated by Apache iBATIS ibator.
  67. * This method corresponds to the database table sj_hk_sd
  68. *
  69. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  70. */
  71. int updateByExample(SjHksd record, SjHksdExample example);
  72. /**
  73. * This method was generated by Apache iBATIS ibator.
  74. * This method corresponds to the database table sj_hk_sd
  75. *
  76. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  77. */
  78. int updateByPrimaryKeySelective(SjHksd record);
  79. /**
  80. * This method was generated by Apache iBATIS ibator.
  81. * This method corresponds to the database table sj_hk_sd
  82. *
  83. * @ibatorgenerated Fri Apr 15 09:47:00 CST 2016
  84. */
  85. int updateByPrimaryKey(SjHksd record);
  86. /**
  87. * 获取最大记录时间
  88. * @param paramMap
  89. * @return
  90. */
  91. public Date selectHksdMaxtimeByParam(Map<String, Object> paramMap);
  92. /**
  93. * 插入数据
  94. * @param paramMapList
  95. */
  96. public void insertHksdByParam(List<SjHksd> paramMapList);
  97. /**
  98. * 根据参数查询全程
  99. * @param searchParam
  100. * @return
  101. */
  102. public List<SjHksd> selectQcsdByParam(Map<String, Object> searchParam);
  103. /**
  104. * 根据参数查询当天
  105. * @param searchParam
  106. * @return
  107. */
  108. public List<SjHksd> selectDqsdByParam(Map<String, Object> searchParam);
  109. /**
  110. * 根据参数查询传感器
  111. * @param searchParam
  112. * @return
  113. */
  114. public List<SjHksd> selectHksdCgqidByParam(Map<String, Object> searchParam);
  115. /**
  116. * 获取一天最高和最低温
  117. * @param searchParam
  118. * @return
  119. */
  120. public SjHksd selectHksdZtgksdByParam(Map<String, Object> searchParam);
  121. }