Commit 3935da59a83312063b6b448ec766d6cb902c7ecf
1 parent
79a0622e40
Exists in
master
and in
1 other branch
微量元素
Showing 1 changed file with 8 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MicroelementFacade.java
View file @
3935da5
| ... | ... | @@ -238,6 +238,10 @@ |
| 238 | 238 | { |
| 239 | 239 | isNormal = false; |
| 240 | 240 | } |
| 241 | + else | |
| 242 | + { | |
| 243 | + continue; | |
| 244 | + } | |
| 241 | 245 | MicroelementConfigModel configModel = mongoTemplate.findOne( |
| 242 | 246 | Query.query(Criteria.where("eleName").is(ele.getEleName()).and("status").is(ele.getStatus()).and("type").is(0)), MicroelementConfigModel.class); |
| 243 | 247 | |
| ... | ... | @@ -332,6 +336,10 @@ |
| 332 | 336 | if (2 != ele.getStatus() ) |
| 333 | 337 | { |
| 334 | 338 | isNormal = false; |
| 339 | + } | |
| 340 | + else | |
| 341 | + { | |
| 342 | + continue; | |
| 335 | 343 | } |
| 336 | 344 | Query query1 = Query.query(Criteria.where("eleName").is(ele.getEleName()).and("status").is(ele.getStatus()).and("type").is(1)); |
| 337 | 345 | List<MicroelementConfigModel> configModels = mongoTemplate.find(query1 |