package com.caimei.modules.order.dao; import com.caimei.modules.order.entity.CmOnlineRefundVo; 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.ArrayList; 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); Double findOnlineMoneyPay(Integer orderId); List findMborderId(Integer userId); Integer findUserId(Integer orderId); Double findMoney(String mbOrderId); void insertOnlineRefund(CmOnlineRefundVo cmOnlineRefundVo); }