package com.zy.common.web.wms;
|
|
import com.core.annotations.ManagerAuth;
|
import com.core.common.R;
|
import com.zy.asrs.service.BasDevpService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* 工作流接口控制器
|
* Created by vincent on 2020/6/10
|
*/
|
@RestController
|
public class WorkController {
|
|
@Autowired
|
private BasDevpService basDevpService;
|
|
@RequestMapping("/available/put/site")
|
@ManagerAuth(memo = "获取有效的入库站点")
|
public R availablePutSite(){
|
return R.ok().add(basDevpService.getAvailableDevp());
|
}
|
|
@RequestMapping("/put/site/start")
|
@ManagerAuth(memo = "开始入库")
|
public R start() {
|
return R.ok();
|
}
|
|
}
|