ソースを参照

新增人脸比对结果的受理咨询号

tongfeng 2 年 前
コミット
ce3332a1d9

+ 1 - 0
eladmin-system/src/main/java/me/zhengjie/application/admin/controller/vo/FaceCompareRsp.java

@@ -8,6 +8,7 @@ import java.util.Date;
 public class FaceCompareRsp {
     private Long id;
     private String businessNo;
+    private String consultNo;
     private String message;
     private Integer result;
     private String score;

+ 0 - 5
eladmin-system/src/main/java/me/zhengjie/dao/mybatis/ThirdPartyInterfaceRepository.java

@@ -7,7 +7,6 @@ import lombok.RequiredArgsConstructor;
 import me.zhengjie.application.admin.controller.vo.FaceCompareRsp;
 import me.zhengjie.base.util.BeanCopyUtils;
 import me.zhengjie.base.util.FileUploadUtil;
-import me.zhengjie.base.util.tencent.utils.HttpClientUtil;
 import me.zhengjie.dao.mybatis.entity.FileInfoEntity;
 import me.zhengjie.dao.mybatis.entity.ThirdPartyInterfaceEntity;
 import me.zhengjie.dao.mybatis.mapper.FileInfoMapper;
@@ -23,10 +22,6 @@ import java.util.List;
 public class ThirdPartyInterfaceRepository {
     private final ThirdPartyInterfaceMapper thirdPartyInterfaceMapper;
     private final FileInfoMapper fileInfoMapper;
-
-
-
-
     public void insert(ThirdPartyInterfaceEntity thirdPartyInterfaceEntity){
         thirdPartyInterfaceEntity.setCreateTime(new Date());
         thirdPartyInterfaceMapper.insert(thirdPartyInterfaceEntity);

+ 2 - 0
eladmin-system/src/main/java/me/zhengjie/dao/mybatis/entity/ThirdPartyInterfaceEntity.java

@@ -18,6 +18,8 @@ public class ThirdPartyInterfaceEntity {
     private Long id;
     @TableField("business_no")
     private String businessNo;
+    @TableField("consult_no")
+    private String consultNo;
     @TableField("message")
     private String message;
     @TableField("result")

+ 3 - 0
eladmin-system/src/main/java/me/zhengjie/domain/notary/impl/NotaryDomainImpl.java

@@ -135,6 +135,7 @@ public class NotaryDomainImpl implements NotaryDomain {
             ThirdPartyInterfaceEntity thirdPartyInterfaceEntity = JuheServiceUtil.URLPost(idCard, nickName, base64);
             thirdPartyInterfaceEntity.setFileId(fileInfo.getId() + "");
             thirdPartyInterfaceEntity.setBusinessNo(compareImageDomain.getBusinessNo());
+            thirdPartyInterfaceEntity.setConsultNo(contractOrderEntity.getConsultNo());
             thirdPartyInterfaceRepository.insert(thirdPartyInterfaceEntity);
             if (thirdPartyInterfaceEntity.getResult() == 1) {
                 ContractOrderEntity orderEntity = new ContractOrderEntity();
@@ -250,6 +251,7 @@ public class NotaryDomainImpl implements NotaryDomain {
                 FileInfoEntity fileInfo = uploadFaceFile(base64);
                 ThirdPartyInterfaceEntity thirdPartyInterfaceEntity = JuheServiceUtil.URLPost(idCard, nickName, base64);
                 thirdPartyInterfaceEntity.setFileId(fileInfo.getId() + "");
+                thirdPartyInterfaceEntity.setConsultNo(contractOrder.getConsultNo());
                 thirdPartyInterfaceEntity.setBusinessNo(compareImageDomain.getBusinessNo());
                 if (thirdPartyInterfaceEntity.getResult() == 1) {
                     //上传图片到minio FileInfo
@@ -275,6 +277,7 @@ public class NotaryDomainImpl implements NotaryDomain {
             ThirdPartyInterfaceEntity thirdPartyInterfaceEntity = JuheServiceUtil.URLPost(idCard, nickName, base64);
             thirdPartyInterfaceEntity.setFileId(fileInfo.getId() + "");
             thirdPartyInterfaceEntity.setBusinessNo(compareImageDomain.getBusinessNo());
+            thirdPartyInterfaceEntity.setConsultNo(contractOrder.getConsultNo());
             thirdPartyInterfaceRepository.insert(thirdPartyInterfaceEntity);
             if (thirdPartyInterfaceEntity.getResult() == 1) {
                 //上传图片到minio FileInfo;