| | |
| | | package com.ruoyi.cwgl.controller; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.cwgl.domain.vo.DispatchOrderAttachmentVo; |
| | | import com.ruoyi.cwgl.domain.vo.DispatchOrderItemVo; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | startPage(); |
| | | List<DispatchOrder> list = dispatchOrderService.selectDispatchOrderList2(dispatchOrder); |
| | | return getDataTable(list); |
| | | } /** |
| | | * 查询调度单列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:dispatchOrder:item')") |
| | | @GetMapping("/item") |
| | | public AjaxResult item(String no) |
| | | { |
| | | List<DispatchOrderItemVo> list = dispatchOrderService.selectDispatchOrderItem(no); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |
| | | /** |
| | | * 查询调度单列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:dispatchOrder:attachment')") |
| | | @GetMapping("/attachment") |
| | | public TableDataInfo attachment(String no) |
| | | { |
| | | startPage(); |
| | | |
| | | List<DispatchOrderAttachmentVo> list = dispatchOrderService.selectDispatchOrderAttachment(no); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |