|
@@ -75,7 +75,7 @@ public class WlnOutboundOrderServiceImpl implements WlnOutboundOrderService {
|
|
|
private List<String> getStorageCodeList() {
|
|
|
List<DictCommonData> warehouseCodeList = dictCommonDataService.list(
|
|
|
q -> q.eq(DictCommonData::getDictCode, "warehouse_code"));
|
|
|
- if (warehouseCodeList.size() == 0) {
|
|
|
+ if (warehouseCodeList.isEmpty()) {
|
|
|
return Collections.emptyList();
|
|
|
}
|
|
|
return warehouseCodeList.stream().map(DictCommonData::getDictValue).collect(Collectors.toList());
|