春风项目四线(合箱线、总装线)
yyt
2024-01-24 01cb633562174ae7390d12b85690a45997f34be7
提交 | 用户 | 时间
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     @PostMapping("/list")
26     public TableDataInfo list(@RequestBody PrepareOnlineQuery prepareOnlineQuery)
27     {
28         List<BsOrderScheduling> list = bsOrderSchedulingService.getPrepareOnlineList(prepareOnlineQuery);
29         return getDataTable(list);
30     }
31 }