SjHkwdDAO.java 3.8 KB

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