Commit b611a02de613334fcf07756db2c7cd0ff892b536
1 parent
9a2b1a7980
Exists in
master
and in
6 other branches
update
Showing 2 changed files with 5 additions and 4 deletions
platform-dal/src/main/java/com/lyms/platform/pojo/LhBabyEyeCheck.java
View file @
b611a02
... | ... | @@ -257,7 +257,7 @@ |
257 | 257 | /** |
258 | 258 | * 眼外观检查项(判断如果其中异常项,眼外观字段lhywg 需要传2.) |
259 | 259 | */ |
260 | - private Map lhywgInfo; | |
260 | + private Map<String,Object> lhywgInfo; | |
261 | 261 | |
262 | 262 | /** |
263 | 263 | * 光照反应 (右)1:正常 2:异常 |
264 | 264 | |
... | ... | @@ -474,11 +474,11 @@ |
474 | 474 | this.lhsldcqt = lhsldcqt; |
475 | 475 | } |
476 | 476 | |
477 | - public Map getLhywgInfo() { | |
477 | + public Map<String, Object> getLhywgInfo() { | |
478 | 478 | return lhywgInfo; |
479 | 479 | } |
480 | 480 | |
481 | - public void setLhywgInfo(Map lhywgInfo) { | |
481 | + public void setLhywgInfo(Map<String, Object> lhywgInfo) { | |
482 | 482 | this.lhywgInfo = lhywgInfo; |
483 | 483 | } |
484 | 484 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/LhBabyEyeCheckFacade.java
View file @
b611a02
... | ... | @@ -52,8 +52,9 @@ |
52 | 52 | //隆化眼外观新加内容 |
53 | 53 | if(MapUtils.isNotEmpty(babyCheck.getLhywgInfo())){ |
54 | 54 | for (Object value : babyCheck.getLhywgInfo().values()) { |
55 | - if (null!=value && 2==(int) value) { | |
55 | + if (null!=value && "2".equals(value.toString())) { | |
56 | 56 | babyCheck.setLhywg("2"); |
57 | + break; | |
57 | 58 | } |
58 | 59 | } |
59 | 60 | } |