|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public ShopOrder  selectForUpdate(Integer id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ShopOrder> selectMyOrderByStatus(@Param("userId") String userId, @Param("params") OrderInfoQueryPOJO orderInfoQueryPOJO); | 
|---|
|  |  |  | List<ShopOrder> selectMyOrderByStatus(@Param("userId") Long userId, @Param("params") OrderInfoQueryPOJO orderInfoQueryPOJO); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ShopOrder selectOrderInfoById(@Param("userId") String userId, @Param("id") Integer id); | 
|---|
|  |  |  | ShopOrder selectOrderInfoById(@Param("userId") Long userId, @Param("id") Integer id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public ShopOrder  selectMyOrderById(Integer id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<ShopOrder> selectInPageByQueryOfExcel(@Param("record") ShopOrderQueryPOJO orderQuery, @Param("pageVo") PaginationVO pageVo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据用户openID查询消费金额 | 
|---|
|  |  |  | * @param userId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Double selectConsumptionSumByUserId(@Param("userId") String userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public List<ShopOrder> selectOrdersByIds(@Param("shopId") Long shopId,@Param("comId") Long comId, @Param("list") List<String> list); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int selectShopOrderTotalByApplyId(@Param("applyId") Long applyId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public List<Map<String,Object>>  selectOrderStatusCount(String openId); | 
|---|
|  |  |  | public List<Map<String,Object>>  selectOrderStatusCount(Long userId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public int batchUpdateOrderStatus(@Param("list") List<ShopOrder> list); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public ShopOrder selectShopOrderByOrderNo(@Param("orderNo")String orderNo); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|