فهرست منبع

联动平台加上物理卡号

王鑫刚 1 ماه پیش
والد
کامیت
2f1e09e023

+ 1 - 0
src/main/java/com/yixin/ms/controller/LinkageController.java

@@ -53,6 +53,7 @@ public class LinkageController {
         item.setName(itemDto.getName());
         item.setPhone(itemDto.getPhone());
         item.setQrcode(itemDto.getQrcode());
+        item.setCardIdEx(itemDto.getCardIdEx());
         //兼容老版本
         if (Preconditions.isNotBlank(itemDto.getVerifytype()) && ("0".equals(itemDto.getVerifytype()) || "1".equals(itemDto.getVerifytype()) || "2".equals(itemDto.getVerifytype()))) {
             if(StrUtil.isNotBlank(itemDto.getCardid())){item.setIdNumber(itemDto.getCardid());}

+ 1 - 0
src/main/java/com/yixin/ms/model/dto/LinkageItemDto.java

@@ -62,6 +62,7 @@ public class LinkageItemDto {
     private String hhFaceVersion;
 
     private String idNumber;
+    private String cardIdEx;
 
 
 

+ 2 - 0
src/main/java/com/yixin/ms/model/dto/ShortTermDTO.java

@@ -69,5 +69,7 @@ public class ShortTermDTO {
     private String hhFaceVersion;
     @ApiModelProperty(value = "健康码barCode")
     private String qrcode;
+    @ApiModelProperty(value = "卡号")
+    private String cardIdEx;
 }
 

+ 2 - 0
src/main/java/com/yixin/ms/model/vo/HealtCodeUserVO.java

@@ -226,5 +226,7 @@ public class HealtCodeUserVO {
 
     @ApiModelProperty("用户姓名")
     private String name;
+    @ApiModelProperty(value = "卡号")
+    private String cardIdEx;
 }
 

+ 1 - 4
src/main/java/com/yixin/ms/service/impl/HealthCodeServiceImpl.java

@@ -336,14 +336,11 @@ public class HealthCodeServiceImpl implements HealthCodeService {
         if(placeInfoVO != null && placeInfoVO.getLatestResultPage()){
             userVO.setShowPageType("scenic");
         }
-
-
-
-
     }
 
     public static HealtCodeUserVO initHealthUserVo(ShortTermDTO shortTermDTO, PlaceInfoVO placeInfoVO) {
         HealtCodeUserVO userVO = new HealtCodeUserVO();
+        userVO.setCardIdEx(shortTermDTO.getCardIdEx());
         //验证方式
         String vaccineNum = "身份证验证";
         if (Preconditions.isNotBlank(shortTermDTO.getHealthCode())) {