Commit deb389c7767b9a46e35d05220cd0e9c0100b72f3
1 parent
fc6fa6df5a
Exists in
master
and in
1 other branch
高危检查列表
Showing 1 changed file with 1 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntExRecordFacade.java
View file @
deb389c
| ... | ... | @@ -737,7 +737,7 @@ |
| 737 | 737 | } |
| 738 | 738 | } |
| 739 | 739 | |
| 740 | - if (CollectionUtils.isEmpty(ids)) | |
| 740 | + if (CollectionUtils.isEmpty(ids) || !incriskMap.containsValue(request.getRiskFactorId())) | |
| 741 | 741 | { |
| 742 | 742 | return null; |
| 743 | 743 | } |
| ... | ... | @@ -748,8 +748,6 @@ |
| 748 | 748 | pageAntExRecordsQuery.setIds(ids); |
| 749 | 749 | pageAntExRecordsQuery.setLevelId(request.getLevel()); |
| 750 | 750 | |
| 751 | - pageAntExRecordsQuery.setrFactor(request.getRiskFactorId()); | |
| 752 | - pageAntExRecordsQuery.setrFactorList(StringUtils.covertToList(request.getRiskFactorId(), String.class)); | |
| 753 | 751 | |
| 754 | 752 | List<AntExRecordModel> pageAntExRecords = recordService.queryAntExRecords(pageAntExRecordsQuery); |
| 755 | 753 | if (CollectionUtils.isNotEmpty(pageAntExRecords)) |