package com.xzx.gc.shop.mapper; import com.xzx.gc.entity.ScoreOrder; 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 { List queryOrderList(@Param("name")String name, @Param("accountName")String accountName, @Param("orderNo")String orderNo, @Param("status") List status, @Param("createdTimeStart")Date createdTimeStart, @Param("createdTimeEnd")Date createdTimeEnd, @Param("namePx")Integer namePx, @Param("typePx")Integer typePx); List 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 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); List selectOrderByIsFinish(@Param("dateTime")Date dateTime); void updateOrderStatusToDone(@Param("id") Long id); }