| | |
| | | return R.ok().add(maps); |
| | | } |
| | | |
| | | /** |
| | | * 中控:获取箱型编号 |
| | | */ |
| | | @PostMapping("/box/type/complete/auth/v2") |
| | | // @AppAuth(memo = "中控:获取箱型编号") |
| | | public synchronized R boxTypeCompleteCar2() { |
| | | List<Map<String, Object>> maps = mobileService.boxTypeComb2(); |
| | | return R.ok().add(maps); |
| | | } |
| | | |
| | | |
| | | @RequestMapping("/comb/auth") |
| | | @ManagerAuth(memo = "组托") |
| | |
| | | |
| | | void pakoutByOrder(JSONObject param, Long userId); |
| | | List<Map<String, Object>> boxTypeComb(); |
| | | List<Map<String, Object>> boxTypeComb2(); |
| | | |
| | | void stockOut(OrderDetl orderDetl, BasDevp staNo, LocDetl locDetl, |
| | | Double curOutQty, Integer ioType, Long userId, Date now); |
| | |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | @Override |
| | | @Transactional |
| | | public List<Map<String, Object>> boxTypeComb2() { |
| | | EntityWrapper<BasBoxType> wrapper = new EntityWrapper<>(); |
| | | List<Map<String, Object>> result = new ArrayList<>(); |
| | | List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(wrapper.orderBy("id",true)); |
| | | for (BasBoxType basBoxType : basBoxTypes){ |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("boxType", basBoxType.getBoxType()); |
| | | map.put("boxSpecs", basBoxType.getBoxSpecs()); |
| | | result.add(map); |
| | | } |
| | | return result; |
| | | } |
| | | } |