Commit 4549ec69d1e5cdd9e24a3a800b39d35867875774
1 parent
2664a284d0
Exists in
master
and in
6 other branches
init修改
Showing 2 changed files with 3 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BabyEyeCheckController.java
View file @
4549ec6
... | ... | @@ -2,6 +2,7 @@ |
2 | 2 | |
3 | 3 | import com.lyms.platform.common.base.BaseController; |
4 | 4 | import com.lyms.platform.common.result.BaseResponse; |
5 | +import com.lyms.platform.operate.web.service.BabyEyeCheckService; | |
5 | 6 | import com.lyms.platform.pojo.BabyEyePatient; |
6 | 7 | import org.springframework.beans.factory.annotation.Autowired; |
7 | 8 | import org.springframework.stereotype.Controller; |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/BabyEyePatientServiceImpl.java
View file @
4549ec6
... | ... | @@ -88,8 +88,8 @@ |
88 | 88 | Map<String, Object> restMap = new HashedMap(); |
89 | 89 | if(babyEyePatient != null) { |
90 | 90 | restMap.put("name", babyEyePatient.getName()); |
91 | -// restMap.put("", babyEyePatient.); | |
92 | -// restMap.put("", babyEyePatient.); | |
91 | + restMap.put("sex", StringUtils.isEmpty(babyEyePatient.getSex()) ? "" : SexEnum.getTextById(Integer.parseInt(babyEyePatient.getSex()))); | |
92 | + restMap.put("cardNo", babyEyePatient.getCardNo()); | |
93 | 93 | // restMap.put("", babyEyePatient.); |
94 | 94 | // restMap.put("", babyEyePatient.); |
95 | 95 | // restMap.put("", babyEyePatient.); |