| | |
| | | |
| | | import com.core.annotations.ManagerAuth; |
| | | import com.core.common.R; |
| | | import com.zy.asrs.entity.WaitPakin; |
| | | import com.zy.asrs.entity.param.EmptyPlateOutParam; |
| | | import com.zy.asrs.entity.param.FullStoreParam; |
| | | import com.zy.asrs.entity.param.LocDetlAdjustParam; |
| | | import com.zy.asrs.entity.param.StockOutParam; |
| | | import com.zy.asrs.service.BasDevpService; |
| | | import com.zy.asrs.service.WorkService; |
| | | import com.zy.common.model.StartupDto; |
| | | import com.zy.common.web.BaseController; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @RequestMapping("/create/waitPain/wrkMast/start") |
| | | @ManagerAuth(memo = "生成任务") |
| | | public R createWaitPainWrkMastStart(@RequestBody List<WaitPakin> list) { |
| | | StartupDto startupDto = workService.createWaitPainWrkMastStart(list, getUserId()); |
| | | return R.ok("任务号:" + startupDto.getWorkNo() + ";目标库位:" + startupDto.getLocNo()); |
| | | } |
| | | |
| | | @RequestMapping("/deal/preHave/start") |
| | | @ManagerAuth(memo = "先入品处理") |
| | | public R dealPreHave(@RequestParam Integer wrkNo) { |
| | | String locNo = workService.dealPreHaveStart(wrkNo, getUserId()); |
| | | return R.ok("任务重新入库,目标库位:" + locNo); |
| | | } |
| | | |
| | | } |