Commit ae3d0a58b74fc7dfb53c31f7a2e1fb0a3fbefe85
1 parent
81f6f76081
Exists in
master
and in
3 other branches
眼保健修改
Showing 2 changed files with 14 additions and 8 deletions
platform-dal/src/main/java/com/lyms/platform/pojo/LhBabyEyeCheck.java
View file @
ae3d0a5
| ... | ... | @@ -317,11 +317,11 @@ |
| 317 | 317 | /** |
| 318 | 318 | * 视力检查(右) 手填 |
| 319 | 319 | */ |
| 320 | - private Double lhsljcstRight; | |
| 320 | + private String lhsljcstRight; | |
| 321 | 321 | /** |
| 322 | 322 | * 视力检查(左) 手填 |
| 323 | 323 | */ |
| 324 | - private Double lhsljcstLeft; | |
| 324 | + private String lhsljcstLeft; | |
| 325 | 325 | /** |
| 326 | 326 | * 视力低常(右) 1正常 、2异常 |
| 327 | 327 | */ |
| 328 | 328 | |
| 329 | 329 | |
| 330 | 330 | |
| ... | ... | @@ -457,18 +457,24 @@ |
| 457 | 457 | } |
| 458 | 458 | |
| 459 | 459 | public Double getLhsljcstRight() { |
| 460 | - return lhsljcstRight; | |
| 460 | + if (lhsljcstRight != null){ | |
| 461 | + return Double.parseDouble(lhsljcstRight); | |
| 462 | + } | |
| 463 | + return null; | |
| 461 | 464 | } |
| 462 | 465 | |
| 463 | - public void setLhsljcstRight(Double lhsljcstRight) { | |
| 466 | + public void setLhsljcstRight(String lhsljcstRight) { | |
| 464 | 467 | this.lhsljcstRight = lhsljcstRight; |
| 465 | 468 | } |
| 466 | 469 | |
| 467 | 470 | public Double getLhsljcstLeft() { |
| 468 | - return lhsljcstLeft; | |
| 471 | + if (lhsljcstLeft != null){ | |
| 472 | + return Double.parseDouble(lhsljcstLeft); | |
| 473 | + } | |
| 474 | + return null; | |
| 469 | 475 | } |
| 470 | 476 | |
| 471 | - public void setLhsljcstLeft(Double lhsljcstLeft) { | |
| 477 | + public void setLhsljcstLeft(String lhsljcstLeft) { | |
| 472 | 478 | this.lhsljcstLeft = lhsljcstLeft; |
| 473 | 479 | } |
| 474 | 480 |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
ae3d0a5
| ... | ... | @@ -1279,8 +1279,8 @@ |
| 1279 | 1279 | lhBabyEyeCheck.setLhsldcLeft("1"); |
| 1280 | 1280 | try |
| 1281 | 1281 | { |
| 1282 | - lhBabyEyeCheck.setLhsljcstRight(Double.valueOf(String.valueOf(request.getEyeRight()))); | |
| 1283 | - lhBabyEyeCheck.setLhsljcstLeft(Double.valueOf(String.valueOf(request.getEyeLeft()))); | |
| 1282 | + lhBabyEyeCheck.setLhsljcstRight(String.valueOf(request.getEyeRight())); | |
| 1283 | + lhBabyEyeCheck.setLhsljcstLeft(String.valueOf(request.getEyeLeft())); | |
| 1284 | 1284 | }catch (Exception e) |
| 1285 | 1285 | { |
| 1286 | 1286 | } |