Commit d3578ebe4442f168cb71dfa0e8a13a25fd7e2b74
1 parent
bce70197a4
Exists in
master
and in
1 other branch
New changelist
Showing 3 changed files with 90 additions and 6 deletions
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ResidentArchivesRegionController.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/ResidentsArchiveQueryRequest.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/FunvCommonUtil.java
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/ResidentArchivesRegionController.java
View file @
d3578eb
| 1 | +package com.lyms.platform.operate.web.controller; | |
| 2 | + | |
| 3 | +import com.lyms.platform.common.annotation.TokenRequired; | |
| 4 | +import com.lyms.platform.common.base.BaseController; | |
| 5 | +import com.lyms.platform.common.base.LoginContext; | |
| 6 | +import com.lyms.platform.common.result.BaseResponse; | |
| 7 | +import com.lyms.platform.operate.web.request.ResidentsArchiveQueryRequest; | |
| 8 | +import org.springframework.stereotype.Controller; | |
| 9 | +import org.springframework.web.bind.annotation.RequestMapping; | |
| 10 | +import org.springframework.web.bind.annotation.RequestMethod; | |
| 11 | +import org.springframework.web.bind.annotation.ResponseBody; | |
| 12 | + | |
| 13 | +import javax.servlet.http.HttpServletRequest; | |
| 14 | +import javax.validation.Valid; | |
| 15 | + | |
| 16 | +/** | |
| 17 | + * | |
| 18 | + * 妇女健康档案管理(区域妇幼) | |
| 19 | + * | |
| 20 | + * Created by Administrator on 2016/12/20 0020. | |
| 21 | + */ | |
| 22 | +@Controller | |
| 23 | +public class ResidentArchivesRegionController extends BaseController{ | |
| 24 | + | |
| 25 | + @RequestMapping(value = "/residentsArchiveList", method = RequestMethod.GET) | |
| 26 | + @ResponseBody | |
| 27 | + @TokenRequired | |
| 28 | + public BaseResponse queryAllPuerpera(@Valid ResidentsArchiveQueryRequest queryRequest,HttpServletRequest request) { | |
| 29 | + LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); | |
| 30 | +// return residentsArchiveFacade.queryResidentsArchives(residentsArchiveQueryRequest,loginState.getId(),"true"); | |
| 31 | + return null; | |
| 32 | + } | |
| 33 | + | |
| 34 | +} |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/ResidentsArchiveQueryRequest.java
View file @
d3578eb
| ... | ... | @@ -17,18 +17,34 @@ |
| 17 | 17 | private String certificateTypeId; |
| 18 | 18 | //就诊卡号 |
| 19 | 19 | private String vcCardNo; |
| 20 | - //医院ID | |
| 21 | - private String hospitalId; | |
| 20 | + //姓名 | |
| 21 | + private String username; | |
| 22 | + //联系方式 | |
| 23 | + private String phone; | |
| 24 | + | |
| 25 | + /* 建档医院 */ | |
| 22 | 26 | //省 |
| 23 | 27 | private String provinceId; |
| 24 | 28 | //市 |
| 25 | 29 | private String cityId; |
| 26 | 30 | //区县 |
| 27 | 31 | private String areaId; |
| 28 | - //姓名 | |
| 29 | - private String username; | |
| 30 | - //联系方式 | |
| 31 | - private String phone; | |
| 32 | + //医院ID | |
| 33 | + private String hospitalId; | |
| 34 | + /* 居住地省市区 */ | |
| 35 | + private String liveProvinceId; | |
| 36 | + private String liveCityId; | |
| 37 | + private String liveAreaId; | |
| 38 | + /* 户籍地址省市区 */ | |
| 39 | + private String provinceRegisterId; | |
| 40 | + private String cityRegisterId; | |
| 41 | + private String areaRegisterId; | |
| 42 | + | |
| 43 | + //年龄(如: 24-26) | |
| 44 | + private String age; | |
| 45 | + //出生日期 | |
| 46 | + private String birthday; | |
| 47 | + | |
| 32 | 48 | |
| 33 | 49 | public String getCertificateTypeId() { |
| 34 | 50 | return certificateTypeId; |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/FunvCommonUtil.java
View file @
d3578eb
| ... | ... | @@ -2,6 +2,9 @@ |
| 2 | 2 | |
| 3 | 3 | import org.apache.commons.lang.StringUtils; |
| 4 | 4 | |
| 5 | +import java.util.HashMap; | |
| 6 | +import java.util.Map; | |
| 7 | + | |
| 5 | 8 | /** |
| 6 | 9 | * 妇女模块公共方法 |
| 7 | 10 | * |
| ... | ... | @@ -74,6 +77,37 @@ |
| 74 | 77 | } |
| 75 | 78 | return ""; |
| 76 | 79 | } |
| 80 | + | |
| 81 | +/* private static final Map<String, String> content = new HashMap<>(); | |
| 82 | + | |
| 83 | + static { | |
| 84 | + content.put("ycxjbs", "遗传性疾病史"); | |
| 85 | + content.put("jsjbs", "精神疾病史"); | |
| 86 | + content.put("xtjx", "先天畸形"); | |
| 87 | + content.put("xtyx", "先天愚型"); | |
| 88 | + content.put("ny", "聋哑"); | |
| 89 | + content.put("mr", "盲人"); | |
| 90 | + content.put("cel", "唇腭裂"); | |
| 91 | + content.put("xyb", "血友病"); | |
| 92 | + content.put("sm", "色盲"); | |
| 93 | + content.put("npx", "牛皮癣"); | |
| 94 | + content.put("st", "双胎"); | |
| 95 | + content.put("gb", "肝病"); | |
| 96 | + content.put("jh", "结核"); | |
| 97 | + | |
| 98 | + content.put("xy", "吸烟"); | |
| 99 | + content.put("yj", "饮酒"); | |
| 100 | + content.put("fyyw", "服用药物"); | |
| 101 | + content.put("jcydyhwz", "接触有毒有害物质"); | |
| 102 | + content.put("jcfsx", "接触放射线"); | |
| 103 | + | |
| 104 | + content.put("qmsgm", "青霉素过敏"); | |
| 105 | + content.put("xfmsgm", "先锋霉素过敏"); | |
| 106 | + content.put("halywgm", "磺胺类药物过敏"); | |
| 107 | + }*/ | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 77 | 111 | |
| 78 | 112 | } |