CmReceiptOrderRelationDao.java 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. Double findReceiptByShopOrderId(@Param("shopOrderId")String shopOrderId);
  21. List<Integer> toAudit(@Param("orderID")Integer orderID);
  22. CmReceiptOrderRelation findOrderRelation(@Param("orderId") Integer orderId, @Param("shopOrderId") Integer shopOrderId);
  23. Integer getDiscernPayWay(Integer orderID);
  24. Date findOnlinePayment(Integer orderID);
  25. String findPayType(Integer orderId);
  26. String findUserId(Integer orderId);
  27. List<CmReceiptOrderRelation> findByShopOrderIds(@Param("shopOrderIds")List<Integer> shopOrderIds);
  28. }