| | |
| | | import com.ruoyi.common.security.annotation.InnerAuth; |
| | | import com.ruoyi.order.service.IOrderService; |
| | | import com.ruoyi.system.api.domain.Order; |
| | | import com.ruoyi.system.api.domain.dto.HomeGoodsSkuDTO; |
| | | import com.ruoyi.system.api.domain.dto.OrderDTO; |
| | | import com.ruoyi.system.api.domain.dto.OrderUpdDTO; |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.system.api.domain.vo.OrderVO; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.poi.ss.formula.functions.T; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | return R.ok(orderService.getOrderByGroupPurchaseId(id)); |
| | | } |
| | | |
| | | @InnerAuth |
| | | @ResponseBody |
| | | @PostMapping("/getOrderByGroupPurchaseMemberId") |
| | | R<Order> getOrderByGroupPurchaseMemberId(@RequestBody HomeGoodsSkuDTO homeGoodsSkuDTO){ |
| | | return R.ok(orderService.getOrderByGroupPurchaseMemberId(homeGoodsSkuDTO)); |
| | | } |
| | | |
| | | @InnerAuth |
| | | @ResponseBody |
| | | @PostMapping("/getOrderByGroupPurchaseMemberList") |
| | | R<List<OrderVO>> getOrderByGroupPurchaseMemberList(@RequestBody HomeGoodsSkuDTO homeGoodsSkuDTO){ |
| | | return R.ok(orderService.getOrderByGroupPurchaseMemberList(homeGoodsSkuDTO)); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 批量更新订单状态 |
| | | * |