SjlrMzdaDAO.java 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. package com.huimv.sjlr.dao;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.huimv.dto.SjlrMzxxxxDTO;
  5. import com.huimv.sjlr.dataobject.SjlrMzda;
  6. import com.huimv.sjlr.dataobject.SjlrMzdaExample;
  7. public interface SjlrMzdaDAO {
  8. /**
  9. * This method was generated by Apache iBATIS ibator.
  10. * This method corresponds to the database table sjlr_mzda
  11. *
  12. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  13. */
  14. int countByExample(SjlrMzdaExample example);
  15. /**
  16. * This method was generated by Apache iBATIS ibator.
  17. * This method corresponds to the database table sjlr_mzda
  18. *
  19. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  20. */
  21. int deleteByExample(SjlrMzdaExample example);
  22. /**
  23. * This method was generated by Apache iBATIS ibator.
  24. * This method corresponds to the database table sjlr_mzda
  25. *
  26. * @ibatorgenerated Wed Mar 08 10:43:49 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_mzda
  32. *
  33. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  34. */
  35. void insert(SjlrMzda record);
  36. /**
  37. * This method was generated by Apache iBATIS ibator.
  38. * This method corresponds to the database table sjlr_mzda
  39. *
  40. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  41. */
  42. void insertSelective(SjlrMzda record);
  43. /**
  44. * This method was generated by Apache iBATIS ibator.
  45. * This method corresponds to the database table sjlr_mzda
  46. *
  47. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  48. */
  49. List<SjlrMzda> selectByExample(SjlrMzdaExample example);
  50. /**
  51. * This method was generated by Apache iBATIS ibator.
  52. * This method corresponds to the database table sjlr_mzda
  53. *
  54. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  55. */
  56. SjlrMzda selectByPrimaryKey(Integer id);
  57. /**
  58. * This method was generated by Apache iBATIS ibator.
  59. * This method corresponds to the database table sjlr_mzda
  60. *
  61. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  62. */
  63. int updateByExampleSelective(SjlrMzda record, SjlrMzdaExample example);
  64. /**
  65. * This method was generated by Apache iBATIS ibator.
  66. * This method corresponds to the database table sjlr_mzda
  67. *
  68. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  69. */
  70. int updateByExample(SjlrMzda record, SjlrMzdaExample example);
  71. /**
  72. * This method was generated by Apache iBATIS ibator.
  73. * This method corresponds to the database table sjlr_mzda
  74. *
  75. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  76. */
  77. int updateByPrimaryKeySelective(SjlrMzda record);
  78. /**
  79. * This method was generated by Apache iBATIS ibator.
  80. * This method corresponds to the database table sjlr_mzda
  81. *
  82. * @ibatorgenerated Wed Mar 08 10:43:49 CST 2017
  83. */
  84. int updateByPrimaryKey(SjlrMzda record);
  85. /**
  86. * 获取母猪档案列表
  87. * @param parmaMap
  88. * @return
  89. */
  90. public List<SjlrMzda> getMzdaListByParam(Map<String, Object> paramMap);
  91. /**
  92. * 获取正在配种的母猪记录
  93. * @param paramMap
  94. * @return
  95. */
  96. public List<SjlrMzda> getMzdaListByPzjl(Map<String, Object> paramMap);
  97. /**
  98. * 批量插入更新
  99. * @param paramMapList,gzdaExList
  100. * @return
  101. */
  102. public void updatMzdaByParam(List<SjlrMzda> paramMapList,List<SjlrMzdaExample> mzdaExList);
  103. public List<SjlrMzxxxxDTO> getMzxxListByParam(Map<String, Object> paramMap);
  104. public List<SjlrMzxxxxDTO> getTtMzxxListByParam(Map<String, Object> paramMap);
  105. public List<SjlrMzda> getDaListByZzds(Map<String, Object> paramMap);
  106. /**
  107. * 批量修改所有表中的动物耳标
  108. * @param paramMapList
  109. * @param mzdaExList
  110. */
  111. public int updateDwebAllByParam(Map<String, Object> paramMap);
  112. }