Commit ef544f89f6d1b615283d7534312abbec3b5004ee
1 parent
09b3735c92
Exists in
master
and in
7 other branches
修改叶酸
Showing 2 changed files with 43 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/FolicAcidFacade.java
View file @
ef544f8
| ... | ... | @@ -417,7 +417,7 @@ |
| 417 | 417 | map.put("id",data.getId()); |
| 418 | 418 | ResidentsArchiveModel model = residentsArchiveService.getResident(data.getParentId()); |
| 419 | 419 | map.put("username",model.getUsername()); |
| 420 | - map.put("certificateNum", DefenceUtils.getId(model.getCertificateNum())); | |
| 420 | + map.put("certificateNum", FunvCommonUtil.getId(model.getCertificateNum())); | |
| 421 | 421 | map.put("phone", FunvCommonUtil.getXingPhone(model.getPhone())); |
| 422 | 422 | map.put("drawTime", DateUtil.getyyyy_MM_dd(data.getDrawTime())); |
| 423 | 423 | map.put("drawCount", data.getDrawCount()); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/utils/FunvCommonUtil.java
View file @
ef544f8
| ... | ... | @@ -267,9 +267,51 @@ |
| 267 | 267 | public static final String YIN = "yin"; |
| 268 | 268 | public static final String YANG = "yang"; |
| 269 | 269 | public static final String RUOYANG = "ruoyang"; |
| 270 | + public static final String SPLIT = "split"; | |
| 271 | + public static final String FULL = "full"; | |
| 272 | + | |
| 270 | 273 | public static final String JIA = "+"; |
| 271 | 274 | public static final String JIAN = "-"; |
| 272 | 275 | public static final String JJ = "±"; |
| 276 | + public static final String WZ = "完整"; | |
| 277 | + public static final String QK = "切开"; | |
| 278 | + | |
| 279 | + public static final String ONE = "Ⅰ度"; | |
| 280 | + public static final String TWO = "Ⅱ度"; | |
| 281 | + public static final String THREE = "Ⅲ度"; | |
| 282 | + | |
| 283 | + public static String checkSiLieLevel(Integer s) { | |
| 284 | + if (s==null){ | |
| 285 | + return ""; | |
| 286 | + } | |
| 287 | + if (s == 1){ | |
| 288 | + return ONE; | |
| 289 | + }else if (s == 2){ | |
| 290 | + return TWO; | |
| 291 | + }else if (s == 3){ | |
| 292 | + return THREE; | |
| 293 | + }else { | |
| 294 | + return ""; | |
| 295 | + } | |
| 296 | + } | |
| 297 | + | |
| 298 | + | |
| 299 | + /** | |
| 300 | + * 处理会阴字段 | |
| 301 | + * @param s | |
| 302 | + * @return | |
| 303 | + */ | |
| 304 | + public static String checkHuiYin(String s) { | |
| 305 | + if (StringUtils.isEmpty(s)){ | |
| 306 | + return ""; | |
| 307 | + } | |
| 308 | + if (s.equals(SPLIT)){ | |
| 309 | + return QK; | |
| 310 | + }else { | |
| 311 | + return WZ; | |
| 312 | + } | |
| 313 | + } | |
| 314 | + | |
| 273 | 315 | |
| 274 | 316 | /** |
| 275 | 317 | * |