Commit 093e2eaf82455dd3a5c5fea25b2cbf418007d6e9

Authored by yangfei
1 parent 0c1e4f6b7f

服务同步

Showing 2 changed files with 3 additions and 5 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java View file @ 093e2ea
... ... @@ -17,8 +17,6 @@
17 17  
18 18 public static void main(String[] args) throws Exception {
19 19  
20   -
21   -
22 20 /* Mongo mongo = new Mongo("119.90.57.26", 10001);
23 21 UserCredentials credentials = new UserCredentials("platform", "platform123");
24 22 MongoTemplate mongoTemplate = new MongoTemplate(mongo, "sync-platform-data", credentials);
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AntenatalExaminationFacade.java View file @ 093e2ea
... ... @@ -781,9 +781,9 @@
781 781 StringBuffer otherRisk = new StringBuffer();
782 782 Integer score = 0;
783 783 for (Map<String, Object> map : listMap) {
784   - Object fxysu = map.get(map.get("fxysu").toString());
  784 + Object fxysu = map.get("fxysu").toString();
785 785 if (fxysu != null) {
786   - otherRisk.append(fxysu);
  786 + otherRisk.append(fxysu+",");
787 787 }
788 788 score+=NumberUtils.toInt(map.get("score").toString(),0);
789 789 }
... ... @@ -829,7 +829,7 @@
829 829 StringBuffer otherRisk = new StringBuffer();
830 830 Integer score = 0;
831 831 for (Map<String, Object> map : listMap) {
832   - Object fxysu = map.get(map.get("fxysu").toString());
  832 + Object fxysu = map.get("fxysu").toString();
833 833 if (fxysu != null) {
834 834 otherRisk.append(fxysu);
835 835 }