package com.caimei.modules.order.dao; import com.caimei.modules.order.entity.OnlineRefundVo; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.caimei.modules.order.entity.CmReceiptOrderRelation; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; /** * 收款项和订单关系DAO接口 * @author lwt * @version 2019-06-20 */ @MyBatisDao public interface CmReceiptOrderRelationDao extends CrudDao { List findByReceiptID(@Param("receiptID") String receiptID); List findByOrderID(@Param("orderID")String orderID); List findByOrderIDGroupBy(@Param("orderID")String orderID); List findByOrderIDGroup(@Param("orderID")String orderID); Double findPayFeeByOrderID(@Param("orderID")String orderID); List toAudit(@Param("orderID")Integer orderID); CmReceiptOrderRelation findOrderRelation(Integer orderID); Date findOnlinePayment(Integer orderID); String findPayType(Integer orderId); String findUserId(Integer orderId); void insertOnlineRefund(OnlineRefundVo onlineRefundVo); }