Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
a65638cf
Commit
a65638cf
authored
Mar 23, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保单详情,保单号重复的情况
parent
bd29ae3e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
+4
-0
yd-api/src/main/java/com/yd/api/practitioner/vo/policy/PolicyInfo.java
+10
-0
yd-api/src/main/java/com/yd/api/practitioner/vo/policy/policyinfoquery/PolicyInfoQueryRequestVO.java
+9
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
View file @
a65638cf
...
@@ -198,6 +198,7 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
...
@@ -198,6 +198,7 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
policyInfo
.
setHolderName
(
item
.
getInsuranceName
());
policyInfo
.
setHolderName
(
item
.
getInsuranceName
());
policyInfo
.
setPlanName
(
item
.
getPolNameChn
());
policyInfo
.
setPlanName
(
item
.
getPolNameChn
());
policyInfo
.
setProductName
(
item
.
getProductName
());
policyInfo
.
setProductName
(
item
.
getProductName
());
policyInfo
.
setRelation_id
(
item
.
getRelationId
());
policyInfo
.
setPolicyNo
(
item
.
getPolicyNo
());
policyInfo
.
setPolicyNo
(
item
.
getPolicyNo
());
policyInfo
.
setOrderPrice
(
Double
.
valueOf
(
item
.
getPremium
()));
policyInfo
.
setOrderPrice
(
Double
.
valueOf
(
item
.
getPremium
()));
policyInfo
.
setOrderDate
(
item
.
getPolAppDate
());
policyInfo
.
setOrderDate
(
item
.
getPolAppDate
());
...
@@ -211,6 +212,8 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
...
@@ -211,6 +212,8 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
PolicyInfoQueryResponseVO
responseVO
=
new
PolicyInfoQueryResponseVO
();
PolicyInfoQueryResponseVO
responseVO
=
new
PolicyInfoQueryResponseVO
();
String
orderNo
=
requestVO
.
getOrderNo
();
String
orderNo
=
requestVO
.
getOrderNo
();
String
policyNo
=
requestVO
.
getPolicyNo
();
String
policyNo
=
requestVO
.
getPolicyNo
();
String
relation_id
=
requestVO
.
getRelation_id
();
if
(!
Strings
.
isNullOrEmpty
(
orderNo
)
||
!
Strings
.
isNullOrEmpty
(
policyNo
))
{
if
(!
Strings
.
isNullOrEmpty
(
orderNo
)
||
!
Strings
.
isNullOrEmpty
(
policyNo
))
{
Integer
platform
=
requestVO
.
getPlatform
();
Integer
platform
=
requestVO
.
getPlatform
();
platform
=
(
platform
==
null
)
?
1
:
platform
;
platform
=
(
platform
==
null
)
?
1
:
platform
;
...
@@ -227,6 +230,7 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
...
@@ -227,6 +230,7 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
// 调用N22保单详情接口
// 调用N22保单详情接口
PolicyDetailQueryRequestBody
policyInfoRequestBody
=
new
PolicyDetailQueryRequestBody
();
PolicyDetailQueryRequestBody
policyInfoRequestBody
=
new
PolicyDetailQueryRequestBody
();
policyInfoRequestBody
.
setPolicyNo
(
policyNo
);
policyInfoRequestBody
.
setPolicyNo
(
policyNo
);
policyInfoRequestBody
.
setRelation_id
(
relation_id
);
PolicyDetailQueryResponseVO
policyDetailQueryResponseVO
=
n22PolicyService
.
policyInfo
(
policyInfoRequestBody
);
PolicyDetailQueryResponseVO
policyDetailQueryResponseVO
=
n22PolicyService
.
policyInfo
(
policyInfoRequestBody
);
...
...
yd-api/src/main/java/com/yd/api/practitioner/vo/policy/PolicyInfo.java
View file @
a65638cf
...
@@ -4,5 +4,14 @@ import com.yd.dal.entity.order.CustomerPolicyInfo;
...
@@ -4,5 +4,14 @@ import com.yd.dal.entity.order.CustomerPolicyInfo;
public
class
PolicyInfo
extends
CustomerPolicyInfo
{
public
class
PolicyInfo
extends
CustomerPolicyInfo
{
private
String
relation_id
;
//N22保单工单guid
public
String
getRelation_id
()
{
return
relation_id
;
}
public
void
setRelation_id
(
String
relation_id
)
{
this
.
relation_id
=
relation_id
;
}
}
}
\ No newline at end of file
yd-api/src/main/java/com/yd/api/practitioner/vo/policy/policyinfoquery/PolicyInfoQueryRequestVO.java
View file @
a65638cf
...
@@ -6,6 +6,7 @@ public class PolicyInfoQueryRequestVO {
...
@@ -6,6 +6,7 @@ public class PolicyInfoQueryRequestVO {
private
Long
policyId
;
//保单ID
private
Long
policyId
;
//保单ID
private
String
policyNo
;
//保单号
private
String
policyNo
;
//保单号
private
Integer
platform
;
//平台,1--yd,2--N22
private
Integer
platform
;
//平台,1--yd,2--N22
private
String
relation_id
;
//N22保单工单guid
/**
/**
* 获取属性 orderId 订单ID
* 获取属性 orderId 订单ID
...
@@ -62,4 +63,12 @@ public class PolicyInfoQueryRequestVO {
...
@@ -62,4 +63,12 @@ public class PolicyInfoQueryRequestVO {
public
void
setPlatform
(
Integer
platform
)
{
public
void
setPlatform
(
Integer
platform
)
{
this
.
platform
=
platform
;
this
.
platform
=
platform
;
}
}
public
String
getRelation_id
()
{
return
relation_id
;
}
public
void
setRelation_id
(
String
relation_id
)
{
this
.
relation_id
=
relation_id
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment