Commit 53b02410988b2e33261d37164adeadad7b00679d
1 parent
80138ff007
Exists in
master
and in
6 other branches
修复bug
Showing 1 changed file with 4 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java
View file @
53b0241
| ... | ... | @@ -1789,6 +1789,10 @@ |
| 1789 | 1789 | for (MatdeliverFollowModel md : matdeliverFollowModels) { |
| 1790 | 1790 | mfIds.add(md.getDeliverId()); |
| 1791 | 1791 | } |
| 1792 | + if (CollectionUtils.isEmpty(mfIds)) { | |
| 1793 | + // 没有查到,直接抛出 | |
| 1794 | + return listResponse; | |
| 1795 | + } | |
| 1792 | 1796 | matDeliverQuery.setIds(mfIds); |
| 1793 | 1797 | } |
| 1794 | 1798 |