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;
|
|
|
@PostMapping("/list")
|
public TableDataInfo list(@RequestBody PrepareOnlineQuery prepareOnlineQuery)
|
{
|
List<BsOrderScheduling> list = bsOrderSchedulingService.getPrepareOnlineList(prepareOnlineQuery);
|
return getDataTable(list);
|
}
|
}
|