| | |
| | | import com.zy.asrs.entity.param.FullStoreParam; |
| | | import com.zy.asrs.service.BasDevpService; |
| | | import com.zy.asrs.service.WorkService; |
| | | import com.zy.common.web.BaseController; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | * Created by vincent on 2020/6/10 |
| | | */ |
| | | @RestController |
| | | public class WorkController { |
| | | public class WorkController extends BaseController { |
| | | |
| | | @Autowired |
| | | private WorkService workService; |
| | |
| | | @RequestMapping("/full/store/start") |
| | | @ManagerAuth(memo = "全板入库") |
| | | public R start(@RequestBody FullStoreParam fullStoreParam) { |
| | | |
| | | System.out.println(JSON.toJSONString(fullStoreParam)); |
| | | |
| | | workService.startupFullStore(fullStoreParam,getUserId()); |
| | | return R.ok(); |
| | | } |
| | | |