Commit 26c7d0f00a4b31dcf3a1176e06ceb0c79df84d98

Authored by liquanyu
1 parent b2a23871df

肌萎缩

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/SmnFacade.java View file @ 26c7d0f
... ... @@ -46,7 +46,7 @@
46 46 public BaseResponse addSmn(SmnRequest param, Integer userId) {
47 47 String hospitalId = autoMatchFacade.getHospitalId(userId);
48 48  
49   - Query query = Query.query(Criteria.where("patientId").is(param.getPatientId()).and("status").is(0));
  49 + Query query = Query.query(Criteria.where("patientId").is(param.getPatientId()).and("status").is(1));
50 50 SmnModel smnModel = mongoTemplate.findOne(query, SmnModel.class);
51 51 if (smnModel != null)
52 52 {