admin
2019-11-16 a6f34b99ee20e528b766c8ed5a61bd9c5aa0e7ae
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/order/CommonOrderMapper.java
@@ -174,7 +174,9 @@
   List<CommonOrderVO> listQuery(@Param("start") long start, @Param("count") int count,
         @Param("keyType") Integer keyType, @Param("key") String key, @Param("state") Integer state,
         @Param("type") Integer type, @Param("orderState") Integer orderState, @Param("startTime") String startTime,
         @Param("endTime") String endTime, @Param("source") Integer source);
         @Param("endTime") String endTime, @Param("source") Integer source,
         @Param("listShopId")List<Long> listShopId, @Param("listGoodsId")List<Long> listGoodsId,
         @Param("minTime")Date minTime, @Param("money")BigDecimal money);
   /**
    * 订单列表查询(不包含子订单)
@@ -201,7 +203,9 @@
    */
   long countQuery(@Param("keyType") Integer keyType, @Param("key") String key, @Param("state") Integer state,
         @Param("type") Integer type, @Param("orderState") Integer orderState, @Param("startTime") String startTime,
         @Param("endTime") String endTime, @Param("source") Integer source);
         @Param("endTime") String endTime, @Param("source") Integer source,
         @Param("listShopId")List<Long> listShopId, @Param("listGoodsId")List<Long> listGoodsId,
         @Param("minTime")Date minTime, @Param("money")BigDecimal money);
   long countQueryWithNoChild(@Param("keyType") Integer keyType, @Param("key") String key,
         @Param("state") Integer state, @Param("type") Integer type, @Param("orderState") Integer orderState,
@@ -311,4 +315,18 @@
   CommonOrderVO firstValidOrderByUid(@Param("uid") Long uid, @Param("typeHB") Integer typeHB,
         @Param("typeDate") Integer typeDate);
   
   /**
    * 获取首笔分享订单;
    * @param uid
    * @return
    */
   CommonOrder getFirstShareOrderByUid(@Param("uid") Long uid);
   /**
    * 统计订单号到账金额
    * @param uid
    * @return
    */
   BigDecimal getTotalRewardMoneyByOrderNoAndSourceType(@Param("orderNo") String orderNo, @Param("sourceType") Integer sourceType);
}