| | |
| | | import com.zy.asrs.service.*; |
| | | import com.zy.common.model.LocDto; |
| | | import com.zy.common.model.OrderDto; |
| | | import com.zy.common.model.OrderMergeVo; |
| | | import com.zy.common.model.TaskDto; |
| | | import com.zy.common.web.BaseController; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 合并订单汇总预览 |
| | | */ |
| | | @RequestMapping(value = "/order/merge/preview/auth") |
| | | @ManagerAuth |
| | | public R mergePreview(@RequestParam(value = "orderIds[]") List<Long> orderIds){ |
| | | OrderMergeVo merge = orderService.mergePreview(orderIds); |
| | | return R.ok().add(merge); |
| | | } |
| | | |
| | | } |