Commit df4163ad6ba76d36fbddf3b691eecde6a0c589ea

Authored by shiyang
1 parent 04941f22b0

update

Showing 1 changed file with 11 additions and 11 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/PreEugebicsServiceImpl.java View file @ df4163a
... ... @@ -353,21 +353,21 @@
353 353 }
354 354  
355 355 //白带检查
356   - List<String> bdjc =null!= map.get("bdjc")?(List<String>) map.get("bdjc"):null;
  356 + List<Integer> bdjc =null!= map.get("bdjc")?(List<Integer>) map.get("bdjc"):null;
357 357 int bdjcYn=CollectionUtils.isNotEmpty(bdjc)?1:0;
358 358 if(bdjcYn==1) {
359   - for (String s : bdjc) {
360   - if (StringUtils.isEmpty(s) || "-1".equals(s)) {
  359 + for (Integer s : bdjc) {
  360 + if (null == s || -1 == s) {
361 361 bdjcYn = 0;
362 362 }
363 363 }
364 364 }
365 365 //乙肝
366   - List<String> yigan =null!= map.get("yigan")?(List<String>) map.get("yigan"):null;
  366 + List<Integer> yigan =null!= map.get("yigan")?(List<Integer>) map.get("yigan"):null;
367 367 int yiganYn=CollectionUtils.isNotEmpty(yigan)?1:0;
368 368 if(yiganYn==1) {
369   - for (String s : yigan) {
370   - if (StringUtils.isEmpty(s) || "-1".equals(s)) {
  369 + for (Integer s : yigan) {
  370 + if (null == s || -1 == s) {
371 371 yiganYn = 0;
372 372 }
373 373 }
374 374  
... ... @@ -403,11 +403,11 @@
403 403 Map <String, Object> map2=param.getHusbandClinicalCheck();
404 404 if (map2 != null && map2.size() > 0) {
405 405 //乙肝
406   - List<String> yigan =null!= map2.get("yigan")?(List<String>) map2.get("yigan"):null;
  406 + List<Integer> yigan =null!= map2.get("yigan")?(List<Integer>) map2.get("yigan"):null;
407 407 int yiganYn=CollectionUtils.isNotEmpty(yigan)?1:0;
408 408 if(yiganYn==1) {
409   - for (String s : yigan) {
410   - if (StringUtils.isEmpty(s) || "-1".equals(s)) {
  409 + for (Integer s : yigan) {
  410 + if (null == s || -1 == s) {
411 411 yiganYn = 0;
412 412 }
413 413 }
414 414  
... ... @@ -1670,9 +1670,9 @@
1670 1670 }
1671 1671 }
1672 1672 //甲状腺疾病
1673   - List<Integer> jzx= null!=model.getHusbandPhysiqueCheck().get("jzx")? (List<Integer>) model.getHusbandPhysiqueCheck().get("jzx") :null;
  1673 + List<Object> jzx= null!=model.getHusbandPhysiqueCheck().get("jzx")? (List<Object>) model.getHusbandPhysiqueCheck().get("jzx") :null;
1674 1674 if(CollectionUtils.isNotEmpty(jzx)){
1675   - if(null!=jzx.get(0)&&1==jzx.get(0)){
  1675 + if(null!=jzx.get(0)&&1==(int)jzx.get(0)){
1676 1676 abnormityList.add("甲状腺:男方: 异常");
1677 1677 abnormityProposal.add("针对功能亢进者,采用手术切除导致功能亢进的肿瘤或增生组织,或者放射治疗毁坏肿瘤或增生组织,或者药物治疗抑制激素的合成和释放;" +
1678 1678 "针对功能减退者,采用有关缺乏激素的替代治疗或补充治疗,或者内分泌腺组织移植、提供身体的需要;建议暂不生育,由内分泌科、外科医生提供咨询指导、治疗后可以生育。");