package com.zy.common.web.wms; 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") public R availablePutSite(){ // 获取有效的入库站点 return R.ok().add(basDevpService.getAvailableDevp()); } }