xiaoyong931011
2021-08-18 a8fb0a175ff61c82819e7da191030c2f5e90ae98
gc-shop/src/main/java/com/xzx/gc/shop/mapper/ScoreOrderMapper.java
@@ -1,19 +1,36 @@
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;
import com.xzx.gc.shop.vo.XcxOrderListVo;
import com.xzx.gc.util.GcMapper;
import org.apache.ibatis.annotations.Param;
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);
}