| | |
| | | import com.core.annotations.ManagerAuth; |
| | | import com.core.common.Cools; |
| | | import com.core.common.R; |
| | | import com.zy.asrs.entity.BasDevp; |
| | | import com.zy.asrs.entity.StaDesc; |
| | | import com.zy.asrs.entity.WaitPakin; |
| | | import com.zy.asrs.entity.param.EmptyPlateOutParam; |
| | |
| | | } |
| | | return R.ok().add(result); |
| | | } |
| | | @RequestMapping("/crn/available/take/site") |
| | | @ManagerAuth() |
| | | public R crnAvailableTakeSite(){ |
| | | List<Map<String, Object>> result = new ArrayList<>(); |
| | | List<Integer> outSite = basDevpService.getCrnAvailableOutSite(101); |
| | | for (Integer siteId : outSite) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("siteId", siteId); |
| | | map.put("desc", siteId + "(全板出库口)"); |
| | | result.add(map); |
| | | } |
| | | List<Integer> pickOutSite = basDevpService.getCrnAvailableOutSite(103); |
| | | for (Integer siteId : pickOutSite) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("siteId", siteId); |
| | | map.put("desc", siteId + "(拣料出库口)"); |
| | | result.add(map); |
| | | } |
| | | return R.ok().add(result); |
| | | } |
| | | |
| | | @RequestMapping("/available/take/check/site") |
| | | @ManagerAuth() |
| | |
| | | return R.ok().add(basDevpService.getAvailableOutSite(107)); |
| | | } |
| | | |
| | | @RequestMapping("/available/crn/empty/take/site") |
| | | @ManagerAuth() |
| | | public R availablecrnEmptyTakeSite(){ |
| | | return R.ok().add(basDevpService.getCrnAvailableEmptyOutSite()); |
| | | } |
| | | |
| | | @RequestMapping("/available/shuttle/empty/take/site") |
| | | @ManagerAuth() |
| | | public R availableshuttleEmptyTakeSite(){ |
| | | return R.ok().add(basDevpService.getShuttleAvailableEmptyOutSite()); |
| | | } |
| | | |
| | | @RequestMapping("/available/ctu/empty/take/site") |
| | | @ManagerAuth() |
| | | public R availablectuEmptyTakeSite(){ |
| | | return R.ok().add(basDevpService.getCtuAvailableEmptyOutSite()); |
| | | } |
| | | |
| | | @RequestMapping("/available/empty/take/site") |
| | | @ManagerAuth() |
| | | public R availableEmptyTakeSite(){ |