admin
2019-01-11 20f1758957a19bb5fec47fcc1c83818ee268676b
fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java
@@ -5,8 +5,6 @@
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.entity.order.CommonOrder;
import com.yeshi.fanli.entity.taobao.TaoBaoOrder;
import com.yeshi.fanli.exception.order.CommonOrderException;
@@ -82,7 +80,7 @@
    * @param uid
    * @return
    */
   public Map<String, BigDecimal> countOrderByHongBaoType(Long uid, Integer day);
   public Map<String, BigDecimal> countHistoryOrder(Long uid, Integer day);
   /**
    * 统计订单
@@ -90,7 +88,7 @@
    * @param uid
    * @return
    */
   public long countOrder(Long uid, Integer type, Integer isToday);
   public long countBonusOrderNumber(Long uid, Integer type, Integer isToday, String startTime, String endTime);
   /**
    * 统计订单
@@ -98,7 +96,7 @@
    * @param uid
    * @return
    */
   public BigDecimal countOrderMoney(Long uid, Integer type, Integer isToday);
   public BigDecimal countBonusOrderMoney(Long uid, Integer type, Integer isToday, String startTime, String endTime);
   /**
    * 根据条件统计
@@ -130,19 +128,6 @@
    */
   public List<CommonOrder> addTaoBaoOrder(List<TaoBaoOrder> taoBaoOrder, Long uid) throws CommonOrderException;
   /**
    * 根据提条件统计已到账金额
    *
    * @param uid
    * @param type
    * @param orderNo
    * @param startTime
    * @param endTime
    * @param day
    * @return
    */
   public Map<String, Object> countMoneyGroupOrderNoByUid(Long uid, Integer type, String orderNo, String startTime,
         String endTime, Integer day);
   /**
    * 根据用户ID,订单状态,结算时间统计订单数量
@@ -152,6 +137,28 @@
    * @param maxDate
    * @return
    */
   long countByUidAndOrderStateWithOrderBalanceTime(Long uid, int state, Date minDate, Date maxDate);
   public long countByUidAndOrderStateWithOrderBalanceTime(Long uid, int state, Date minDate, Date maxDate);
   /**
    * 后端查询订单列表
    * @param start
    * @param count
    * @param uid
    * @param state
    * @param type
    * @param orderState
    * @param orderNo
    * @param startTime
    * @param endTime
    * @param dateType 1昨天  2今天 3本月 4 上月
    * @return
    * @throws CommonOrderException
    */
   public List<CommonOrderVO> listQueryByUid(long start, int count, Long uid, Integer state, Integer type,
         Integer orderState, String orderNo, String startTime, String endTime, Integer dateType)
         throws CommonOrderException;
   public long countQueryByUid(Long uid, Integer state, Integer type, Integer orderState, String orderNo, String startTime,
         String endTime, Integer dateType) throws CommonOrderException;
}