XtSbcsDAO.java 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. package com.huimv.xt.dao;
  2. import java.util.Date;
  3. import java.util.List;
  4. import java.util.Map;
  5. import com.huimv.da.dataobject.DaLqda;
  6. import com.huimv.sj.dataobject.SjFwjl;
  7. import com.huimv.xt.dataobject.XtSbcs;
  8. import com.huimv.xt.dataobject.XtSbcsExample;
  9. public interface XtSbcsDAO {
  10. /**
  11. * This method was generated by Apache iBATIS ibator.
  12. * This method corresponds to the database table xt_sbcs
  13. *
  14. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  15. */
  16. int countByExample(XtSbcsExample example);
  17. /**
  18. * This method was generated by Apache iBATIS ibator.
  19. * This method corresponds to the database table xt_sbcs
  20. *
  21. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  22. */
  23. int deleteByExample(XtSbcsExample example);
  24. /**
  25. * This method was generated by Apache iBATIS ibator.
  26. * This method corresponds to the database table xt_sbcs
  27. *
  28. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  29. */
  30. int deleteByPrimaryKey(Integer id);
  31. /**
  32. * This method was generated by Apache iBATIS ibator.
  33. * This method corresponds to the database table xt_sbcs
  34. *
  35. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  36. */
  37. void insert(XtSbcs record);
  38. /**
  39. * This method was generated by Apache iBATIS ibator.
  40. * This method corresponds to the database table xt_sbcs
  41. *
  42. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  43. */
  44. void insertSelective(XtSbcs record);
  45. /**
  46. * This method was generated by Apache iBATIS ibator.
  47. * This method corresponds to the database table xt_sbcs
  48. *
  49. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  50. */
  51. List<XtSbcs> selectByExample(XtSbcsExample example);
  52. /**
  53. * This method was generated by Apache iBATIS ibator.
  54. * This method corresponds to the database table xt_sbcs
  55. *
  56. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  57. */
  58. XtSbcs selectByPrimaryKey(Integer id);
  59. /**
  60. * This method was generated by Apache iBATIS ibator.
  61. * This method corresponds to the database table xt_sbcs
  62. *
  63. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  64. */
  65. int updateByExampleSelective(XtSbcs record, XtSbcsExample example);
  66. /**
  67. * This method was generated by Apache iBATIS ibator.
  68. * This method corresponds to the database table xt_sbcs
  69. *
  70. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  71. */
  72. int updateByExample(XtSbcs record, XtSbcsExample example);
  73. /**
  74. * This method was generated by Apache iBATIS ibator.
  75. * This method corresponds to the database table xt_sbcs
  76. *
  77. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  78. */
  79. int updateByPrimaryKeySelective(XtSbcs record);
  80. /**
  81. * This method was generated by Apache iBATIS ibator.
  82. * This method corresponds to the database table xt_sbcs
  83. *
  84. * @ibatorgenerated Wed Jul 23 14:49:16 CST 2014
  85. */
  86. int updateByPrimaryKey(XtSbcs record);
  87. /**
  88. * 返回List集合
  89. */
  90. List<XtSbcs> selectXtsbcsByParam(Map<String, Object> searchParam);
  91. /**
  92. * 返回统计结果
  93. */
  94. int selectCountXtsbcsByParam(Map<String, Object> searchParam);
  95. /**
  96. * 统计最近一天访问记录的体重
  97. */
  98. int selectCountFwjlByParam(Map<String, Object> searchParam);
  99. /**
  100. * 根据最近一天访问记录体重的统计得到临界体重
  101. */
  102. String selectDqtzFwjlByParam(Map<String, Object> searchParam);
  103. /**
  104. * 返回指定yjsb里面的最大ID
  105. */
  106. int selectSbcsMaxId();
  107. List<XtSbcs> selectTxtzByLqid(String lqid);
  108. String selectLqidByJpid(Map<String, Object> searchParam);
  109. List<SjFwjl> selectPjtzByParam(Map<String, Object> searchParam);
  110. DaLqda selectLqdaByJqid(Map<String, Object> searchParam);
  111. /**
  112. * 获取访问记录最多访问时间
  113. */
  114. Date selectMaxFwsjByParam(Map<String, Object> searchParam);
  115. public int selectIdByZsid(int zsid);
  116. public int selectMcidByJqid (Map<String, Object> paramMap);
  117. }