com.macro.mall.portal.domain.OmsOrderDetail Java Examples

The following examples show how to use com.macro.mall.portal.domain.OmsOrderDetail. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OmsPortalOrderController.java    From mall with Apache License 2.0 5 votes vote down vote up
@ApiOperation("按状态分页获取用户订单列表")
@ApiImplicitParam(name = "status", value = "订单状态:-1->全部;0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭",
        defaultValue = "-1", allowableValues = "-1,0,1,2,3,4", paramType = "query", dataType = "int")
@RequestMapping(value = "/list", method = RequestMethod.GET)
@ResponseBody
public CommonResult<CommonPage<OmsOrderDetail>> list(@RequestParam Integer status,
                                               @RequestParam(required = false, defaultValue = "1") Integer pageNum,
                                               @RequestParam(required = false, defaultValue = "5") Integer pageSize) {
    CommonPage<OmsOrderDetail> orderPage = portalOrderService.list(status,pageNum,pageSize);
    return CommonResult.success(orderPage);
}
 
Example #2
Source File: OmsPortalOrderController.java    From mall with Apache License 2.0 5 votes vote down vote up
@ApiOperation("根据ID获取订单详情")
@RequestMapping(value = "/detail/{orderId}", method = RequestMethod.GET)
@ResponseBody
public CommonResult<OmsOrderDetail> detail(@PathVariable Long orderId) {
    OmsOrderDetail orderDetail = portalOrderService.detail(orderId);
    return CommonResult.success(orderDetail);
}
 
Example #3
Source File: PortalOrderDao.java    From mall-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * 获取订单及下单商品详情
 */
OmsOrderDetail getDetail(@Param("orderId") Long orderId);
 
Example #4
Source File: PortalOrderDao.java    From mall-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * 获取超时订单
 * @param minute 超时时间(分)
 */
List<OmsOrderDetail> getTimeOutOrders(@Param("minute") Integer minute);
 
Example #5
Source File: PortalOrderDao.java    From macrozheng with Apache License 2.0 2 votes vote down vote up
/**
 * 获取订单及下单商品详情
 */
OmsOrderDetail getDetail(@Param("orderId") Long orderId);
 
Example #6
Source File: PortalOrderDao.java    From macrozheng with Apache License 2.0 2 votes vote down vote up
/**
 * 获取超时订单
 * @param minute 超时时间(分)
 */
List<OmsOrderDetail> getTimeOutOrders(@Param("minute") Integer minute);
 
Example #7
Source File: PortalOrderDao.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 获取订单及下单商品详情
 */
OmsOrderDetail getDetail(@Param("orderId") Long orderId);
 
Example #8
Source File: PortalOrderDao.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 获取超时订单
 * @param minute 超时时间(分)
 */
List<OmsOrderDetail> getTimeOutOrders(@Param("minute") Integer minute);
 
Example #9
Source File: OmsPortalOrderService.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 分页获取用户订单
 */
CommonPage<OmsOrderDetail> list(Integer status, Integer pageNum, Integer pageSize);
 
Example #10
Source File: OmsPortalOrderService.java    From mall with Apache License 2.0 2 votes vote down vote up
/**
 * 根据订单ID获取订单详情
 */
OmsOrderDetail detail(Long orderId);
 
Example #11
Source File: PortalOrderDao.java    From macrozheng-mall with MIT License 2 votes vote down vote up
/**
 * 获取订单及下单商品详情
 */
OmsOrderDetail getDetail(@Param("orderId") Long orderId);
 
Example #12
Source File: PortalOrderDao.java    From macrozheng-mall with MIT License 2 votes vote down vote up
/**
 * 获取超时订单
 * @param minute 超时时间(分)
 */
List<OmsOrderDetail> getTimeOutOrders(@Param("minute") Integer minute);