| | |
| | | return defaultRowLastno; |
| | | } |
| | | RowLastnoService rowLastnoService = SpringUtils.getBean(RowLastnoService.class); |
| | | List<RowLastno> typeMatched = rowLastnoService.selectList(new EntityWrapper<RowLastno>() |
| | | .eq("type_id", area)); |
| | | if (!Cools.isEmpty(typeMatched)) { |
| | | return typeMatched.get(0); |
| | | } |
| | | // List<RowLastno> typeMatched = rowLastnoService.selectList(new EntityWrapper<RowLastno>() |
| | | // .eq("type_id", area)); |
| | | // if (!Cools.isEmpty(typeMatched)) { |
| | | // return typeMatched.get(0); |
| | | // } |
| | | List<RowLastno> whsMatched = rowLastnoService.selectList(new EntityWrapper<RowLastno>() |
| | | .eq("whs_type", area)); |
| | | if (!Cools.isEmpty(whsMatched)) { |