| | |
| | | } |
| | | 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; |
| | | } |
| | | } |