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