TChangeDunMapper.java 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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 Jan 13 11:34:14 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 Jan 13 11:34:14 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 Jan 13 11:34:14 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 Jan 13 11:34:14 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 Jan 13 11:34:14 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 Jan 13 11:34:14 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 Jan 13 11:34:14 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 Jan 13 11:34:14 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 Jan 13 11:34:14 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 Jan 13 11:34:14 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 Jan 13 11:34:14 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. }