TOrderInvoiceMapper.java 3.2 KB

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