| package com.zy.asrs.wms.controller; | 
|   | 
| import com.zy.asrs.common.web.BaseController; | 
| import com.zy.asrs.common.wms.service.BasDevpService; | 
| import com.zy.asrs.common.wms.service.WorkService; | 
| import com.zy.asrs.common.wms.service.WrkMastService; | 
| import com.zy.asrs.framework.annotations.ManagerAuth; | 
| import com.zy.asrs.framework.common.R; | 
| 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 extends BaseController { | 
|   | 
|     @Autowired | 
|     private WorkService workService; | 
|     @Autowired | 
|     private BasDevpService basDevpService; | 
|     @Autowired | 
|     private WrkMastService wrkMastService; | 
|   | 
|     @RequestMapping("/available/put/site") | 
|     @ManagerAuth() | 
|     public R availablePutSite(){ | 
|         return R.ok().add(basDevpService.getAvailableInSite()); | 
|     } | 
|   | 
|   | 
| } |