package com.zy.asrs.controller; import com.core.annotations.ManagerAuth; import com.core.common.R; import com.zy.asrs.entity.param.FullStoreParam; import com.zy.asrs.service.WorkService; import com.zy.common.web.BaseController; import com.zy.ints.service.WaitMatinService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * 入库作业控制器(根据通知档) * Created by TQS on 2021/8/20 */ @RestController public class MatStoreController extends BaseController { @Autowired private WaitMatinService waitMatinService; @Autowired private WorkService workService; @RequestMapping("/mat/store/start") @ManagerAuth(memo = "全板入库(通知档)") public R matStoreStart(@RequestBody FullStoreParam fullStoreParam) { return R.ok("入库启动成功").add(workService.startupFullPutStore(fullStoreParam,getUserId())); } }