Commit f9092f952b3a9f82f0c54842a915808de35b9b90
1 parent
3aefdb747e
Exists in
master
and in
6 other branches
update code
Showing 1 changed file with 8 additions and 7 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/FolicAcidFacade.java
View file @
f9092f9
... | ... | @@ -423,14 +423,15 @@ |
423 | 423 | parentIds.add(pa.getId()); |
424 | 424 | } |
425 | 425 | folicAcidQuery.setParentIds(parentIds); |
426 | - }else{//没有数据 | |
427 | - BaseListResponse baseListResponse = new BaseListResponse(); | |
428 | - baseListResponse.setErrormsg("成功"); | |
429 | - baseListResponse.setErrorcode(ErrorCodeConstants.SUCCESS); | |
430 | - baseListResponse.setData(list); | |
431 | - baseListResponse.setPageInfo(folicAcidQuery.getPageInfo()); | |
432 | - return baseListResponse; | |
433 | 426 | } |
427 | +// else{//没有数据 | |
428 | +// BaseListResponse baseListResponse = new BaseListResponse(); | |
429 | +// baseListResponse.setErrormsg("成功"); | |
430 | +// baseListResponse.setErrorcode(ErrorCodeConstants.SUCCESS); | |
431 | +// baseListResponse.setData(list); | |
432 | +// baseListResponse.setPageInfo(folicAcidQuery.getPageInfo()); | |
433 | +// return baseListResponse; | |
434 | +// } | |
434 | 435 | |
435 | 436 | List<FolicAcid> folicAcidList = folicAcidService.queryFolicAcid(folicAcidQuery); |
436 | 437 | if (CollectionUtils.isNotEmpty(folicAcidList)){ |