提交修改
This commit is contained in:
parent
4eedbb45a6
commit
01f96b3d39
@ -136,6 +136,7 @@ public class RecognizeDrivingLicenseController extends BaseController {
|
||||
private RecognizeDrivingLicenseFaceResp toFaceResp(Map<String, Object> data) {
|
||||
RecognizeDrivingLicenseFaceResp faceResp = new RecognizeDrivingLicenseFaceResp();
|
||||
faceResp.setIssueDate(MapUtils.getByExpr(data, "words_result.发证日期.words"));
|
||||
faceResp.setIssueAuthority(MapUtils.getByExpr(data, "words_result.发证单位.words"));
|
||||
faceResp.setModel(MapUtils.getByExpr(data, "words_result.品牌型号.words"));
|
||||
faceResp.setVehicleType(MapUtils.getByExpr(data, "words_result.车辆类型.words"));
|
||||
faceResp.setOwner(MapUtils.getByExpr(data, "words_result.所有人.words"));
|
||||
@ -160,6 +161,8 @@ public class RecognizeDrivingLicenseController extends BaseController {
|
||||
backResp.setApprovedPassengerCapacity(MapUtils.getByExpr(data, "words_result.核定载人数.words"));
|
||||
backResp.setEnergyType(MapUtils.getByExpr(data, "words_result.燃油类型.words"));
|
||||
backResp.setApprovedLoad(MapUtils.getByExpr(data, "words_result.核定载质量.words"));
|
||||
backResp.setRemark(MapUtils.getByExpr(data, "words_result.备注.words"));
|
||||
backResp.setCertificateNumber(MapUtils.getByExpr(data, "words_result.证芯编号.words"));
|
||||
return backResp;
|
||||
}
|
||||
|
||||
|
||||
@ -97,6 +97,22 @@ public class RecognizeDrivingLicenseBackResp extends BaseResp {
|
||||
*/
|
||||
private String approvedLoad;
|
||||
|
||||
/**
|
||||
* 备注。
|
||||
*
|
||||
* 示例值:
|
||||
* 2033-10-25
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 证芯编号。
|
||||
*
|
||||
* 示例值:
|
||||
* 50027372380230106
|
||||
*/
|
||||
private String certificateNumber;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -35,6 +35,13 @@ public class RecognizeDrivingLicenseFaceResp extends BaseResp {
|
||||
*/
|
||||
public String issueDate;
|
||||
|
||||
/**
|
||||
* 发证单位。
|
||||
*
|
||||
* 示例值:
|
||||
* 北京市公安局公安交通管理局
|
||||
*/
|
||||
public String issueAuthority;
|
||||
|
||||
/***
|
||||
* 品牌型号。
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user