春风项目四线(合箱线、总装线)
懒羊羊
2024-01-18 b6c635aca8133bb846d8e251d72d7bc52211f079
提交 | 用户 | 时间
0ae9ac 1 package com.jcdm.main.bs.orderScheduling.controller;
W 2
3
4 import com.jcdm.common.core.controller.BaseController;
5 import com.jcdm.common.core.page.TableDataInfo;
6 import com.jcdm.main.bs.orderScheduling.Query.PrepareOnlineQuery;
7 import com.jcdm.main.bs.orderScheduling.domain.BsOrderScheduling;
8 import com.jcdm.main.bs.orderScheduling.service.impl.BsOrderSchedulingServiceImpl;
9 import org.springframework.beans.factory.annotation.Autowired;
10 import org.springframework.web.bind.annotation.PostMapping;
11 import org.springframework.web.bind.annotation.RequestBody;
12 import org.springframework.web.bind.annotation.RequestMapping;
13 import org.springframework.web.bind.annotation.RestController;
14
15 import java.util.List;
16
17 @RestController
18 @RequestMapping("/bs/prepareOnline")
19 public class PrepareOnlineController extends BaseController {
20
21     @Autowired
22     private BsOrderSchedulingServiceImpl bsOrderSchedulingService;
23
24
25 //    @PreAuthorize("@ss.hasPermi('bs:orderScheduling:list')")
26     @PostMapping("/list")
27     public TableDataInfo list(@RequestBody PrepareOnlineQuery prepareOnlineQuery)
28     {
29         List<BsOrderScheduling> list = bsOrderSchedulingService.getPrepareOnlineList(prepareOnlineQuery);
30         return getDataTable(list);
31     }
32 }