TChangeDunMapper.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.TChangeDun;
  3. import com.goafanti.common.model.TChangeDunExample;
  4. import com.goafanti.order.bo.TChangeDunOut;
  5. import java.util.List;
  6. import org.apache.ibatis.annotations.Param;
  7. public interface TChangeDunMapper {
  8. /**
  9. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  10. * @mbg.generated Mon May 18 15:26:46 CST 2020
  11. */
  12. long countByExample(TChangeDunExample example);
  13. /**
  14. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  15. * @mbg.generated Mon May 18 15:26:46 CST 2020
  16. */
  17. int deleteByExample(TChangeDunExample example);
  18. /**
  19. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  20. * @mbg.generated Mon May 18 15:26:46 CST 2020
  21. */
  22. int deleteByPrimaryKey(Integer id);
  23. /**
  24. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  25. * @mbg.generated Mon May 18 15:26:46 CST 2020
  26. */
  27. int insert(TChangeDun record);
  28. /**
  29. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  30. * @mbg.generated Mon May 18 15:26:46 CST 2020
  31. */
  32. int insertSelective(TChangeDun record);
  33. /**
  34. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  35. * @mbg.generated Mon May 18 15:26:46 CST 2020
  36. */
  37. List<TChangeDun> selectByExample(TChangeDunExample example);
  38. /**
  39. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  40. * @mbg.generated Mon May 18 15:26:46 CST 2020
  41. */
  42. TChangeDun selectByPrimaryKey(Integer id);
  43. /**
  44. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  45. * @mbg.generated Mon May 18 15:26:46 CST 2020
  46. */
  47. int updateByExampleSelective(@Param("record") TChangeDun record, @Param("example") TChangeDunExample example);
  48. /**
  49. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  50. * @mbg.generated Mon May 18 15:26:46 CST 2020
  51. */
  52. int updateByExample(@Param("record") TChangeDun record, @Param("example") TChangeDunExample example);
  53. /**
  54. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  55. * @mbg.generated Mon May 18 15:26:46 CST 2020
  56. */
  57. int updateByPrimaryKeySelective(TChangeDun record);
  58. /**
  59. * This method was generated by MyBatis Generator. This method corresponds to the database table t_change_dun
  60. * @mbg.generated Mon May 18 15:26:46 CST 2020
  61. */
  62. int updateByPrimaryKey(TChangeDun record);
  63. void insertSelectiveList(@Param("list")List<TChangeDun> list);
  64. List<TChangeDunOut> selectByCid(Integer id);
  65. /**
  66. *
  67. * @param tid 变更项目id
  68. * @param type 处理类型
  69. * @param i
  70. * @return
  71. */
  72. int updateByTid(@Param("tid")Integer tid,@Param("cid")Integer cid,@Param("type")Integer type);
  73. void deleteByCtid(Integer id);
  74. /**
  75. *
  76. * @param ctid 变更项目编号
  77. * @param tid 项目编号
  78. */
  79. void updateByCTid(@Param("ctid")Integer ctid, @Param("tid")Integer tid);
  80. }