Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test
| | |
| | | @PostMapping("orderDetail") |
| | | @ApiImplicitParam(name = "orderId", value = "订单id", required = true) |
| | | public R orderDetail(@RequestParam("orderId") Long orderId) { |
| | | return communityService.orderDetail(orderId); |
| | | return communityService.orderDetailFlower(orderId); |
| | | } |
| | | |
| | | @ApiOperation(value = "取消订单") |
| | |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "自提点id") |
| | | private Integer pointId; |
| | | private Long pointId; |
| | | |
| | | @ApiModelProperty(value = "商户id") |
| | | private Long storeId; |
| | |
| | | if (null != pointId) { |
| | | ConvenientElevatingPointDO convenientElevatingPointDO = convenientElevatingPointDAO.selectById(pointId); |
| | | ConvenientElevatingPointVO convenientElevatingPointVO = new ConvenientElevatingPointVO(); |
| | | BeanUtils.copyProperties(convenientElevatingPointVO, convenientElevatingPointDO); |
| | | BeanUtils.copyProperties(convenientElevatingPointDO, convenientElevatingPointVO); |
| | | orderVO.setConvenientElevatingPointVO(convenientElevatingPointVO); |
| | | } |
| | | //已完成、已退款才有评论 |
| | |
| | | resultType="com.panzhihua.common.model.vos.community.convenient.ConvenientElevatingPointVO"> |
| | | SELECT ccep.*,count(csfo.id) delivery_order_num ,sum(og.amount) delivery_goods_num |
| | | FROM com_convenient_elevating_point ccep |
| | | LEFT JOIN com_shop_flower_order ON ccep.id = csfo.point_id |
| | | LEFT JOIN com_shop_flower_order csfo ON ccep.id = csfo.point_id |
| | | LEFT JOIN com_shop_flower_order_goods og ON og.order_id = csfo.id |
| | | WHERE |
| | | csfo.`status` = 1 |