CmReceiptOrderRelationDao.java 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. package com.caimei.modules.order.dao;
  2. import com.thinkgem.jeesite.common.persistence.CrudDao;
  3. import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
  4. import com.caimei.modules.order.entity.CmReceiptOrderRelation;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.Date;
  7. import java.util.List;
  8. /**
  9. * 收款项和订单关系DAO接口
  10. * @author lwt
  11. * @version 2019-06-20
  12. */
  13. @MyBatisDao
  14. public interface CmReceiptOrderRelationDao extends CrudDao<CmReceiptOrderRelation> {
  15. List<CmReceiptOrderRelation> findByReceiptID(@Param("receiptID") String receiptID);
  16. List<CmReceiptOrderRelation> findByOrderID(@Param("orderID")String orderID);
  17. List<CmReceiptOrderRelation> findByOrderIDGroupBy(@Param("orderID")String orderID);
  18. List<CmReceiptOrderRelation> findByOrderIDGroup(@Param("orderID")String orderID);
  19. Double findPayFeeByOrderID(@Param("orderID")String orderID);
  20. List<Integer> toAudit(@Param("orderID")Integer orderID);
  21. CmReceiptOrderRelation findOrderRelation(Integer orderID);
  22. Date findOnlinePayment(Integer orderID);
  23. }