Commit d86f322fcd46b594dfd7c87cc9e66f5ca0cb176a
1 parent
67173248e2
Exists in
master
and in
6 other branches
预约建档
Showing 1 changed file with 7 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/RemoteController.java
View file @
d86f322
... | ... | @@ -91,6 +91,13 @@ |
91 | 91 | query.setIdCard(idCard); |
92 | 92 | query.setCardNum(cardNum); |
93 | 93 | query.setPhone(phone); |
94 | + | |
95 | + if (StringUtils.isEmpty(idCard) && StringUtils.isEmpty(cardNum) && StringUtils.isEmpty(phone)) | |
96 | + { | |
97 | + writeJson(response,"{\"errormsg\": \"参数为空\",\"errorcode\": 4097}"); | |
98 | + return; | |
99 | + } | |
100 | + | |
94 | 101 | List<ArchiveData> list = archiveDataServicer.query(query.convertToQuery()); |
95 | 102 | |
96 | 103 | if (CollectionUtils.isEmpty(list) && StringUtils.isNotEmpty(cardNum)) |