xiaoyong931011
2021-11-11 0561b12e8c5570a0f7e812543cc3460f80fee416
gc-shop/src/main/java/com/xzx/gc/shop/mapper/ScoreOrderMapper.java
@@ -1,7 +1,6 @@
package com.xzx.gc.shop.mapper;
import com.xzx.gc.entity.ScoreOrder;
import com.xzx.gc.shop.dto.QueryOrderListDto;
import com.xzx.gc.shop.dto.XcxOrderListDto;
import com.xzx.gc.shop.vo.QueryOrderListVo;
import com.xzx.gc.shop.vo.XcxOrderDetailsVo;
@@ -11,18 +10,31 @@
import java.util.Date;
import java.util.List;
import java.util.Map;
public interface ScoreOrderMapper extends GcMapper<ScoreOrder> {
    List<QueryOrderListVo> queryOrderList(@Param("name")String name,
                                          @Param("accountName")String accountName,
                                          @Param("orderNo")String orderNo,
                                          @Param("status")Integer status,
                                          @Param("status") List status,
                                          @Param("createdTimeStart")Date createdTimeStart,
                                          @Param("createdTimeEnd")Date createdTimeEnd);
                                          @Param("createdTimeEnd")Date createdTimeEnd,
                                          @Param("namePx")Integer namePx,
                                          @Param("typePx")Integer typePx);
    List<XcxOrderListVo> selectXcxOrderList(@Param("record") XcxOrderListDto xcxOrderListDto);
    XcxOrderDetailsVo selectXcxOrderDetails(@Param("id") Long id);
    int updateOrderStatus(@Param("id") Long id, @Param("status") Integer status, @Param("userId") String userId);
    Map<String, Object> selectOrderStastics(@Param("userId") String userId);
    Integer selectScoreOrderCnt(@Param("userId") String userId);
    Integer selectGoodsQuotaTime(@Param("userId")String userId,
                                 @Param("goodsId")Long id,
                                 @Param("qgStartTime")Date qgStartTime,
                                 @Param("qgEndTime")Date qgEndTime);
}