Commit b73b0b61b97017b981bddfa026d3bf019fca684f

Authored by liquanyu
1 parent 2bda9455f4

code update

Showing 2 changed files with 5 additions and 1 deletions

platform-common/src/main/java/com/lyms/platform/common/utils/ExceptionUtils.java View file @ b73b0b6
... ... @@ -14,5 +14,9 @@
14 14 public static void catchException(Exception exception,String message){
15 15 logger.error(message,exception);
16 16 }
  17 +
  18 + public static void catchException(String message){
  19 + logger.error(message);
  20 + }
17 21 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ b73b0b6
... ... @@ -494,7 +494,7 @@
494 494 babyModel.setPid(personService.addPerson(personModel).getId());
495 495  
496 496  
497   - ExceptionUtils.catchException(new Exception(),"分娩---------->"+babyModel.getMphone()+";name="+babyModel.getName());
  497 + ExceptionUtils.catchException("分娩---------->"+babyModel.getMphone()+";name="+babyModel.getName());
498 498 //儿童建档
499 499 babyBookbuildingFacade.createBuildSms(babyModel);
500 500