|
@@ -419,6 +419,7 @@ public class IsvMedicCardServiceImpl implements IsvMedicCardService {
|
|
|
String sex = Checker.getStringValue(request.getSex());
|
|
|
String phoneNumber = Checker.getStringValue(request.getPhoneNumber());
|
|
|
String relationShip = Checker.getStringValue(request.getRelationShip());
|
|
|
+ String isInsu = Checker.getStringValue(request.getIsInsu());
|
|
|
int userId = ContextHelper.getCurrentUserIdWrapped();
|
|
|
int hospitalId = BizUtil.getCurrentHospitalId();
|
|
|
boolean isSelf = relationShip.equals(RelationshipEnum.MYSELF.getDisplayName());
|
|
@@ -449,6 +450,7 @@ public class IsvMedicCardServiceImpl implements IsvMedicCardService {
|
|
|
.setUserId(userId)
|
|
|
.setRelationship(RelationshipEnum.getByName(relationShip).getValue())
|
|
|
.setCardType(idCardType)
|
|
|
+ .setIsInsu(isInsu)
|
|
|
.build());
|
|
|
System.out.println(TextFormat.printToUnicodeString(response));
|
|
|
if (response.getCode() != ResultCode.SUCCEED_VALUE) throw new AppMessageException(response.getInfo());
|