Commit 86779bb25a98db564d96146ceae0d425fcfb7906
1 parent
236d0f5a99
Exists in
master
and in
8 other branches
code update
Showing 2 changed files with 10 additions and 2 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/BabyCheckService.java
View file @
86779bb
| ... | ... | @@ -69,9 +69,9 @@ | 
| 69 | 69 | return babyAwDao.queryAwByHeight(condition.toMongoQuery()); | 
| 70 | 70 | } | 
| 71 | 71 | |
| 72 | - public List<AwModel> queryBabyHealthConfig(Integer agetType, Integer sex,Integer type,Double height) { | |
| 72 | + public List<AwModel> queryBabyHealthConfig(Integer ageType, Integer sex,Integer type,Double height) { | |
| 73 | 73 | MongoCondition condition = MongoCondition.newInstance(); | 
| 74 | - condition = condition.and("agetType", agetType, MongoOper.IS); | |
| 74 | + condition = condition.and("ageType", ageType, MongoOper.IS); | |
| 75 | 75 | condition = condition.and("sex", sex, MongoOper.IS); | 
| 76 | 76 | condition = condition.and("type", type, MongoOper.IS); | 
| 77 | 77 | condition = condition.and("height", height, MongoOper.IS); | 
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java
View file @
86779bb
| ... | ... | @@ -6,6 +6,7 @@ | 
| 6 | 6 | import com.lyms.platform.common.result.BaseObjectResponse; | 
| 7 | 7 | import com.lyms.platform.common.result.BaseResponse; | 
| 8 | 8 | import com.lyms.platform.common.utils.DateUtil; | 
| 9 | +import com.lyms.platform.common.utils.ExceptionUtils; | |
| 9 | 10 | import com.lyms.platform.operate.web.request.MatDeliverAddRequest; | 
| 10 | 11 | import com.lyms.platform.operate.web.request.MatDeliverQueryRequest; | 
| 11 | 12 | import com.lyms.platform.operate.web.result.HighScoreResult; | 
| ... | ... | @@ -20,6 +21,8 @@ | 
| 20 | 21 | import org.apache.commons.collections.CollectionUtils; | 
| 21 | 22 | import org.apache.commons.lang.StringUtils; | 
| 22 | 23 | import org.apache.commons.lang.math.NumberUtils; | 
| 24 | +import org.slf4j.Logger; | |
| 25 | +import org.slf4j.LoggerFactory; | |
| 23 | 26 | import org.springframework.beans.factory.annotation.Autowired; | 
| 24 | 27 | import org.springframework.stereotype.Component; | 
| 25 | 28 | |
| ... | ... | @@ -32,6 +35,9 @@ | 
| 32 | 35 | */ | 
| 33 | 36 | @Component | 
| 34 | 37 | public class MatDeliverFacade { | 
| 38 | + | |
| 39 | + private Logger logger = LoggerFactory.getLogger(MatDeliverFacade.class); | |
| 40 | + | |
| 35 | 41 | @Autowired | 
| 36 | 42 | private MatDeliverService matDeliverService; | 
| 37 | 43 | @Autowired | 
| ... | ... | @@ -487,6 +493,8 @@ | 
| 487 | 493 | personModel.setCreated(new Date()); | 
| 488 | 494 | babyModel.setPid(personService.addPerson(personModel).getId()); | 
| 489 | 495 | |
| 496 | + | |
| 497 | + ExceptionUtils.catchException(new Exception(),"分娩---------->"+babyModel.getMphone()+";name="+babyModel.getName()); | |
| 490 | 498 | //儿童建档 | 
| 491 | 499 | babyBookbuildingFacade.createBuildSms(babyModel); | 
| 492 | 500 |