Commit 4889105e04d5c2ad02650651efb8dc429585293f
1 parent
d37dbe79ef
Exists in
master
and in
1 other branch
code update
Showing 1 changed file with 15 additions and 2 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/JdbcUtil.java
View file @
4889105
... | ... | @@ -1410,12 +1410,25 @@ |
1410 | 1410 | |
1411 | 1411 | public void syncDataBaby(String hid,MongoTemplate mongoTemplate) |
1412 | 1412 | { |
1413 | - syncBabyData(hid,mongoTemplate); | |
1413 | + try { | |
1414 | + syncBabyData(hid, mongoTemplate); | |
1415 | + }catch (Exception e) | |
1416 | + { | |
1417 | + ExceptionUtils.catchException(e,"儿童同步出错。。。。。。。。。。。。。。"); | |
1418 | + } | |
1419 | + | |
1414 | 1420 | } |
1415 | 1421 | |
1416 | 1422 | public void syncDataPat(String hid,MongoTemplate mongoTemplate) |
1417 | 1423 | { |
1418 | - syncPatientData(hid,mongoTemplate); | |
1424 | + try { | |
1425 | + syncPatientData(hid,mongoTemplate); | |
1426 | + } | |
1427 | + catch (Exception e) | |
1428 | + { | |
1429 | + ExceptionUtils.catchException(e,"孕妇同步出错。。。。。。。。。。。。。。"); | |
1430 | + } | |
1431 | + | |
1419 | 1432 | } |
1420 | 1433 | |
1421 | 1434 | public static void main(String[] args) |