Quellcode durchsuchen

Merge branch 'dev' of huangwenjie/patient-co-management into dev

huangwenjie vor 7 Jahren
Ursprung
Commit
097d7abbe2

+ 4 - 8
patient-co-service/wlyy_service/src/main/java/com/yihu/wlyy/service/service/guahao/GuahaoService.java

@ -1421,10 +1421,8 @@ public class GuahaoService {
        params.put("PatientPhone", patientPhone);
        result = immPostSecond("RegisterImmune","计免预约-免疫接种确认预约",params);
    
        com.alibaba.fastjson.JSONObject data = com.alibaba.fastjson.JSONObject.parseObject(result);
    
        if(data.containsKey("OK")){
            result = data.getString("OK");
        if (StringUtils.startsWith(result, "OK")){
            result = "OK";
        }
    
        return result;
@ -1463,10 +1461,8 @@ public class GuahaoService {
        params.put("PatientPhone", patientPhone);
        result = immPostSecond("UnResRegisterImmune","计免预约-免疫接种确认预约",params);
    
        com.alibaba.fastjson.JSONObject data = com.alibaba.fastjson.JSONObject.parseObject(result);
    
        if(data.containsKey("OK")){
            result = data.getString("OK");
        if (StringUtils.startsWith(result, "OK")){
            result = "OK";
        }
    
        return result;

+ 3 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/imm/ChildFamilyImmuneService.java

@ -50,7 +50,9 @@ public class ChildFamilyImmuneService extends BaseService {
		}else{
			childFamilyImmune = childFamilyImmuneDao.findByfaAndChildCodeAndFamilyCode(childInfo.getCode(),uid);
			
			if(childFamilyImmune != null){
			if(childFamilyImmune == null){
				childFamilyImmune = new ChildFamilyImmune();
			}else{
				throw new Exception("您已绑定过该新生儿,无法重复绑定");
			}
		}