| | |
| | | |
| | | 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; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 查询调度单列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:dispatchOrder:attachment')") |
| | | @GetMapping("/attachment") |
| | | public TableDataInfo attachment(String no) |
| | | { |
| | | startPage(); |
| | | |
| | | List<DispatchOrderAttachmentVo> list = dispatchOrderService.selectDispatchOrderAttachment(no); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导出调度单列表 |
| | | * @param dispatchOrder 查询条件对象 |
| | | */ |
| | |
| | | dispatchOrderService.export(dispatchOrder,exportKey); |
| | | return AjaxResult.success("导出请求成功,请稍后点击下载...!"); |
| | | } |
| | | /** |
| | | * 导出调度单列表 |
| | | * @param dispatchOrder 查询条件对象 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:dispatchOrder:export')") |
| | | @Log(title = "调度单", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export2") |
| | | public AjaxResult export2(DispatchOrder dispatchOrder,String exportKey) |
| | | { |
| | | dispatchOrderService.export2(dispatchOrder,exportKey); |
| | | return AjaxResult.success("导出请求成功,请稍后点击下载...!"); |
| | | } |
| | | |
| | | |
| | | |