SjlrPzjlDAO.java 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. package com.huimv.sjlr.dao;
  2. import com.huimv.sjlr.dataobject.SjlrMzda;
  3. import com.huimv.sjlr.dataobject.SjlrPzjl;
  4. import com.huimv.sjlr.dataobject.SjlrPzjlExample;
  5. import java.util.List;
  6. import java.util.Map;
  7. public interface SjlrPzjlDAO {
  8. /**
  9. * This method was generated by Apache iBATIS ibator.
  10. * This method corresponds to the database table sjlr_pzjl
  11. *
  12. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  13. */
  14. int countByExample(SjlrPzjlExample example);
  15. /**
  16. * This method was generated by Apache iBATIS ibator.
  17. * This method corresponds to the database table sjlr_pzjl
  18. *
  19. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  20. */
  21. int deleteByExample(SjlrPzjlExample example);
  22. /**
  23. * This method was generated by Apache iBATIS ibator.
  24. * This method corresponds to the database table sjlr_pzjl
  25. *
  26. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  27. */
  28. int deleteByPrimaryKey(Integer id);
  29. /**
  30. * This method was generated by Apache iBATIS ibator.
  31. * This method corresponds to the database table sjlr_pzjl
  32. *
  33. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  34. */
  35. void insert(SjlrPzjl record);
  36. /**
  37. * This method was generated by Apache iBATIS ibator.
  38. * This method corresponds to the database table sjlr_pzjl
  39. *
  40. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  41. */
  42. void insertSelective(SjlrPzjl record);
  43. /**
  44. * This method was generated by Apache iBATIS ibator.
  45. * This method corresponds to the database table sjlr_pzjl
  46. *
  47. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  48. */
  49. List<SjlrPzjl> selectByExample(SjlrPzjlExample example);
  50. /**
  51. * This method was generated by Apache iBATIS ibator.
  52. * This method corresponds to the database table sjlr_pzjl
  53. *
  54. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  55. */
  56. SjlrPzjl selectByPrimaryKey(Integer id);
  57. /**
  58. * This method was generated by Apache iBATIS ibator.
  59. * This method corresponds to the database table sjlr_pzjl
  60. *
  61. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  62. */
  63. int updateByExampleSelective(SjlrPzjl record, SjlrPzjlExample example);
  64. /**
  65. * This method was generated by Apache iBATIS ibator.
  66. * This method corresponds to the database table sjlr_pzjl
  67. *
  68. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  69. */
  70. int updateByExample(SjlrPzjl record, SjlrPzjlExample example);
  71. /**
  72. * This method was generated by Apache iBATIS ibator.
  73. * This method corresponds to the database table sjlr_pzjl
  74. *
  75. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  76. */
  77. int updateByPrimaryKeySelective(SjlrPzjl record);
  78. /**
  79. * This method was generated by Apache iBATIS ibator.
  80. * This method corresponds to the database table sjlr_pzjl
  81. *
  82. * @ibatorgenerated Wed Mar 08 10:44:06 CST 2017
  83. */
  84. int updateByPrimaryKey(SjlrPzjl record);
  85. /**
  86. * 查询配种记录
  87. * @param paramMap
  88. * @return
  89. */
  90. public List<SjlrPzjl> selectPzjlListByParam(Map<String, Object> paramMap);
  91. /**
  92. * 配种母猪列表
  93. * @param paramMap
  94. * @return
  95. */
  96. public List<SjlrMzda> selectPzjlMzdaListByParam(Map<String, Object> paramMap);
  97. /**
  98. * 统计配种数
  99. * @param paramMap
  100. * @return
  101. */
  102. public int countPzjlByParam(Map<String, Object> paramMap);
  103. /**
  104. * 统计配种分娩
  105. * @param paramMap
  106. * @return
  107. */
  108. public int countPzFmByParam(Map<String, Object> paramMap);
  109. /**
  110. * 统计配种胎次
  111. * @param paramMap
  112. * @return
  113. */
  114. public int countPztcByParam(Map<String, Object> paramMap);
  115. /**
  116. * 配种记录新增查询舍栏和胎次
  117. * @param paramMap
  118. * @return
  119. */
  120. public List<SjlrPzjl> selectPzjlAddByParam(Map<String, Object> paramMap);
  121. }