admin
2024-01-23 81da61b828e29b7745e1382dfbbaeb685dc083ef
fanli/src/main/java/com/yeshi/fanli/service/inter/order/jd/JDOrderService.java
@@ -1,49 +1,49 @@
package com.yeshi.fanli.service.inter.order.jd;
import java.util.List;
import com.yeshi.fanli.entity.jd.JDOrder;
import com.yeshi.fanli.entity.jd.JDOrderItem;
import com.yeshi.fanli.exception.jd.JDOrderException;
public interface JDOrderService {
   /**
    * 添加订单
    *
    * @param order
    * @throws JDOrderException
    */
   public void addJDOrder(JDOrder order) throws JDOrderException;
   /**
    * 根据订单号查询
    *
    * @param orderId
    * @return
    */
   public JDOrder selectByOrderId(Long orderId);
   /**
    * 根据订单号查询(包含子订单)
    * @param orderId
    * @return
    */
   public JDOrder selectDetailByOrderId(Long orderId);
   public Long countOrderByDay(String preDay);
   /**
    * 查询订单
    * @param start
    * @param count
    * @param key
    * @return
    */
   public List<JDOrderItem> listQuery(long start, int count, String key);
   public long countQuery(String key);
}
package com.yeshi.fanli.service.inter.order.jd;
import java.util.List;
import com.yeshi.fanli.entity.jd.JDOrder;
import com.yeshi.fanli.entity.jd.JDOrderItem;
import com.yeshi.fanli.exception.jd.JDOrderException;
public interface JDOrderService {
   /**
    * 添加订单
    *
    * @param order
    * @throws JDOrderException
    */
   public void addJDOrder(JDOrder order) throws JDOrderException;
   /**
    * 根据订单号查询
    *
    * @param orderId
    * @return
    */
   public JDOrder selectByOrderId(Long orderId);
   /**
    * 根据订单号查询(包含子订单)
    * @param orderId
    * @return
    */
   public JDOrder selectDetailByOrderId(Long orderId);
   public Long countOrderByDay(String preDay);
   /**
    * 查询订单
    * @param start
    * @param count
    * @param key
    * @return
    */
   public List<JDOrderItem> listQuery(long start, int count, String key);
   public long countQuery(String key);
}