TOrderInvoiceMapper.java 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.TOrderInvoice;
  3. import com.goafanti.common.model.TOrderInvoiceExample;
  4. import com.goafanti.order.bo.InvoiceBo;
  5. import com.goafanti.order.bo.OutInvoiceLog;
  6. import com.goafanti.order.bo.TOrderInvoiceDetails;
  7. import java.math.BigDecimal;
  8. import java.util.List;
  9. import org.apache.ibatis.annotations.Param;
  10. public interface TOrderInvoiceMapper {
  11. /**
  12. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  13. * @mbg.generated Fri May 17 09:46:50 CST 2019
  14. */
  15. long countByExample(TOrderInvoiceExample example);
  16. /**
  17. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  18. * @mbg.generated Fri May 17 09:46:50 CST 2019
  19. */
  20. int deleteByExample(TOrderInvoiceExample example);
  21. /**
  22. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  23. * @mbg.generated Fri May 17 09:46:50 CST 2019
  24. */
  25. int deleteByPrimaryKey(Integer id);
  26. /**
  27. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  28. * @mbg.generated Fri May 17 09:46:50 CST 2019
  29. */
  30. int insert(TOrderInvoice record);
  31. /**
  32. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  33. * @mbg.generated Fri May 17 09:46:50 CST 2019
  34. */
  35. int insertSelective(TOrderInvoice record);
  36. /**
  37. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  38. * @mbg.generated Fri May 17 09:46:50 CST 2019
  39. */
  40. List<TOrderInvoice> selectByExample(TOrderInvoiceExample example);
  41. /**
  42. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  43. * @mbg.generated Fri May 17 09:46:50 CST 2019
  44. */
  45. TOrderInvoice selectByPrimaryKey(Integer id);
  46. /**
  47. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  48. * @mbg.generated Fri May 17 09:46:50 CST 2019
  49. */
  50. int updateByExampleSelective(@Param("record") TOrderInvoice record, @Param("example") TOrderInvoiceExample example);
  51. /**
  52. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  53. * @mbg.generated Fri May 17 09:46:50 CST 2019
  54. */
  55. int updateByExample(@Param("record") TOrderInvoice record, @Param("example") TOrderInvoiceExample example);
  56. /**
  57. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  58. * @mbg.generated Fri May 17 09:46:50 CST 2019
  59. */
  60. int updateByPrimaryKeySelective(TOrderInvoice record);
  61. /**
  62. * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
  63. * @mbg.generated Fri May 17 09:46:50 CST 2019
  64. */
  65. int updateByPrimaryKey(TOrderInvoice record);
  66. String checkApplyAmount(@Param("orderNo")String orderNo,@Param("id")Integer id);
  67. TOrderInvoiceDetails selectByInvoiceDitails(Integer id);
  68. BigDecimal conutAmountByOrderNo(String orderNo);
  69. List<InvoiceBo> selectByOrderNo(String orderNo);
  70. TOrderInvoiceDetails getInvoiceDetails(String orderNo);
  71. List<OutInvoiceLog> selectInvoiceLog(Integer id);
  72. }