Commit b35d5221d00cb1cf4aa9cedeab02e062c0176253
1 parent
c58cc0fd2f
Exists in
master
and in
1 other branch
update
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PremaritalCheckupFacade.java
View file @
b35d522
... | ... | @@ -284,7 +284,7 @@ |
284 | 284 | String id = null; |
285 | 285 | |
286 | 286 | PremaritalCheckup checkup = new PremaritalCheckup(); |
287 | - if (model.getSex() != null && model.getSex()== SystemConfig.WOMAN_ID){ | |
287 | + if (model.getSex() != null && model.getSex().equals(SystemConfig.WOMAN_ID)){ | |
288 | 288 | checkup.setSexType(1); |
289 | 289 | }else { |
290 | 290 | checkup.setSexType(2); |