|
@ -435,6 +435,8 @@ public class WlyyFamilyMemberController extends EnvelopRestEndpoint {
|
|
|
@RequestParam(value = "idNo",required = false)String idNo,
|
|
|
@ApiParam(name = "gend", value = "性别 1男 2女", required = false)
|
|
|
@RequestParam(value = "gend",required = false)String gend,
|
|
|
@ApiParam(name = "cardType", value = "卡类型(01社保卡 其他自费)", required = false)
|
|
|
@RequestParam(value = "cardType",required = false)String cardType,
|
|
|
@ApiParam(name = "phone", value = "电话号码", required = false)
|
|
|
@RequestParam(value = "phone",required = false)String phone,
|
|
|
@ApiParam(name = "cardNo", value = "卡号", required = false)
|
|
@ -445,7 +447,7 @@ public class WlyyFamilyMemberController extends EnvelopRestEndpoint {
|
|
|
if(patientDO!=null){
|
|
|
operatorName = patientDO.getName();
|
|
|
}
|
|
|
JSONObject obj = dsyyPrescriptionService.buildAccountToHospital(operatorName,userName,idNo,gend,phone,cardNo);
|
|
|
JSONObject obj = dsyyPrescriptionService.buildAccountToHospital(operatorName,userName,idNo,gend,phone,cardNo,cardType);
|
|
|
return ObjEnvelop.getSuccess("ok",obj);
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
@ -510,7 +512,7 @@ public class WlyyFamilyMemberController extends EnvelopRestEndpoint {
|
|
|
if(patientDO!=null){
|
|
|
operatorName = patientDO.getName();
|
|
|
}
|
|
|
JSONObject object = dsyyPrescriptionService.buildAccountToHospital(operatorName,familyName,idCard, IdCardUtil.getSexForIdcard_new(idCard),username,medicare);
|
|
|
JSONObject object = dsyyPrescriptionService.buildAccountToHospital(operatorName,familyName,idCard, IdCardUtil.getSexForIdcard_new(idCard),username,medicare,"01");
|
|
|
if(!"00".equals(object.getString("retCode"))){
|
|
|
mixEnvelop.setStatus(408);
|
|
|
mixEnvelop.setMessage(object.getString("retMsg"));
|