DaLqwhxxDAO.java 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. package com.huimv.da.dao;
  2. import com.huimv.busi.da.dto.DaDwsDTO;
  3. import com.huimv.da.dataobject.DaLqwhxx;
  4. import com.huimv.da.dataobject.DaLqwhxxExample;
  5. import java.util.List;
  6. public interface DaLqwhxxDAO {
  7. /**
  8. * This method was generated by Apache iBATIS ibator.
  9. * This method corresponds to the database table da_lqwhxx
  10. *
  11. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  12. */
  13. int countByExample(DaLqwhxxExample example);
  14. /**
  15. * This method was generated by Apache iBATIS ibator.
  16. * This method corresponds to the database table da_lqwhxx
  17. *
  18. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  19. */
  20. int deleteByExample(DaLqwhxxExample example);
  21. /**
  22. * This method was generated by Apache iBATIS ibator.
  23. * This method corresponds to the database table da_lqwhxx
  24. *
  25. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  26. */
  27. int deleteByPrimaryKey(Integer id);
  28. /**
  29. * This method was generated by Apache iBATIS ibator.
  30. * This method corresponds to the database table da_lqwhxx
  31. *
  32. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  33. */
  34. void insert(DaLqwhxx record);
  35. /**
  36. * This method was generated by Apache iBATIS ibator.
  37. * This method corresponds to the database table da_lqwhxx
  38. *
  39. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  40. */
  41. void insertSelective(DaLqwhxx record);
  42. /**
  43. * This method was generated by Apache iBATIS ibator.
  44. * This method corresponds to the database table da_lqwhxx
  45. *
  46. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  47. */
  48. List<DaLqwhxx> selectByExample(DaLqwhxxExample example);
  49. /**
  50. * This method was generated by Apache iBATIS ibator.
  51. * This method corresponds to the database table da_lqwhxx
  52. *
  53. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  54. */
  55. DaLqwhxx selectByPrimaryKey(Integer id);
  56. /**
  57. * This method was generated by Apache iBATIS ibator.
  58. * This method corresponds to the database table da_lqwhxx
  59. *
  60. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  61. */
  62. int updateByExampleSelective(DaLqwhxx record, DaLqwhxxExample example);
  63. /**
  64. * This method was generated by Apache iBATIS ibator.
  65. * This method corresponds to the database table da_lqwhxx
  66. *
  67. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  68. */
  69. int updateByExample(DaLqwhxx record, DaLqwhxxExample example);
  70. /**
  71. * This method was generated by Apache iBATIS ibator.
  72. * This method corresponds to the database table da_lqwhxx
  73. *
  74. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  75. */
  76. int updateByPrimaryKeySelective(DaLqwhxx record);
  77. /**
  78. * This method was generated by Apache iBATIS ibator.
  79. * This method corresponds to the database table da_lqwhxx
  80. *
  81. * @ibatorgenerated Fri May 23 16:56:30 CST 2014
  82. */
  83. int updateByPrimaryKey(DaLqwhxx record);
  84. /**
  85. * 选择栏期维护列表
  86. */
  87. List<DaLqwhxx> selectMCZSLQLQWHByExample(DaLqwhxxExample example);
  88. /**
  89. * 计算动物数量
  90. */
  91. DaDwsDTO selectDwsFromDaLqwhxxByLqid(Integer lqid);
  92. /**
  93. * 根据lqid和发生时间计算动物数量
  94. * @param record
  95. * @return
  96. */
  97. DaDwsDTO selectDwsFromDaLqwhxxByLqidAndFssj(DaLqwhxx record);
  98. /**
  99. * 选择栏期维护
  100. */
  101. DaLqwhxx selectDaLqwhxxByLqid(Integer lqid);
  102. /**
  103. * 更新栏期维护
  104. */
  105. int updateZlsByDaLqwhxxId(Integer id);
  106. }