|
@@ -273,7 +273,7 @@ public class ZhongMeiOrderApiServiceImpl implements ZhongMeiOrderApiService {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public HttpResult<Object> audit(String companyId) {
|
|
public HttpResult<Object> audit(String companyId) {
|
|
|
- InsAreaCompany insAreaCompany = insAreaCompanyService.getByInsOrderNo(companyId);
|
|
|
|
|
|
|
+ InsAreaCompany insAreaCompany = insAreaCompanyService.getByIdIsExist(companyId);
|
|
|
// 1. 协议id获取配置实体
|
|
// 1. 协议id获取配置实体
|
|
|
ZmConfigureParameters zmConfigureParameters = configureParametersComponents.toEntity(ZmConfigureParameters.class,
|
|
ZmConfigureParameters zmConfigureParameters = configureParametersComponents.toEntity(ZmConfigureParameters.class,
|
|
|
insAreaCompany.getAgreementId());
|
|
insAreaCompany.getAgreementId());
|
|
@@ -282,7 +282,7 @@ public class ZhongMeiOrderApiServiceImpl implements ZhongMeiOrderApiService {
|
|
|
JSONObject ownerinfo = insOrders.getApplyinfo();
|
|
JSONObject ownerinfo = insOrders.getApplyinfo();
|
|
|
CustomerInfoVo customerInfoVo = ownerinfo.toJavaObject(CustomerInfoVo.class);
|
|
CustomerInfoVo customerInfoVo = ownerinfo.toJavaObject(CustomerInfoVo.class);
|
|
|
// 2. 提交核保
|
|
// 2. 提交核保
|
|
|
- SubmitResponse response = submitForUnderwriting(insAreaCompany.getId(), insOrders.getFrameno(), customerInfoVo,
|
|
|
|
|
|
|
+ SubmitResponse response = submitForUnderwriting(insAreaCompany.getInsOrderNo(), insOrders.getFrameno(), customerInfoVo,
|
|
|
zmConfigureParameters);
|
|
zmConfigureParameters);
|
|
|
// 3. 人工核保
|
|
// 3. 人工核保
|
|
|
if (SubmitStatus.S_3.getCode().equals(response.getSubmitStatus())) {
|
|
if (SubmitStatus.S_3.getCode().equals(response.getSubmitStatus())) {
|
|
@@ -313,14 +313,14 @@ public class ZhongMeiOrderApiServiceImpl implements ZhongMeiOrderApiService {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public HttpResult<Object> submitImage(String companyId) {
|
|
public HttpResult<Object> submitImage(String companyId) {
|
|
|
- InsAreaCompany insAreaCompany = insAreaCompanyService.getByInsOrderNo(companyId);
|
|
|
|
|
|
|
+ InsAreaCompany insAreaCompany = insAreaCompanyService.getByIdIsExist(companyId);
|
|
|
// 1. 协议id获取配置实体
|
|
// 1. 协议id获取配置实体
|
|
|
ZmConfigureParameters zmConfigureParameters = configureParametersComponents.toEntity(ZmConfigureParameters.class,
|
|
ZmConfigureParameters zmConfigureParameters = configureParametersComponents.toEntity(ZmConfigureParameters.class,
|
|
|
insAreaCompany.getAgreementId());
|
|
insAreaCompany.getAgreementId());
|
|
|
|
|
|
|
|
InsOrders insOrders = insOrdersService.getById(insAreaCompany.getOrderno());
|
|
InsOrders insOrders = insOrdersService.getById(insAreaCompany.getOrderno());
|
|
|
// 2. 投保单号(总)
|
|
// 2. 投保单号(总)
|
|
|
- String insOrderNo = insAreaCompany.getId();
|
|
|
|
|
|
|
+ String insOrderNo = insAreaCompany.getInsOrderNo();
|
|
|
|
|
|
|
|
List<InsTaskImagesBase64> insTaskImagesBase64s = insTaskImagesService.findByOrderNo(insOrders.getOrderno(), insAreaCompany.getId());
|
|
List<InsTaskImagesBase64> insTaskImagesBase64s = insTaskImagesService.findByOrderNo(insOrders.getOrderno(), insAreaCompany.getId());
|
|
|
|
|
|
|
@@ -393,7 +393,7 @@ public class ZhongMeiOrderApiServiceImpl implements ZhongMeiOrderApiService {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public HttpResult<Object> paymentEnquiry(String companyId) {
|
|
public HttpResult<Object> paymentEnquiry(String companyId) {
|
|
|
- InsAreaCompany insAreaCompany = insAreaCompanyService.getByInsOrderNo(companyId);
|
|
|
|
|
|
|
+ InsAreaCompany insAreaCompany = insAreaCompanyService.getByIdIsExist(companyId);
|
|
|
|
|
|
|
|
// 1. 协议id获取配置实体
|
|
// 1. 协议id获取配置实体
|
|
|
ZmConfigureParameters zmConfigureParameters = configureParametersComponents.toEntity(ZmConfigureParameters.class,
|
|
ZmConfigureParameters zmConfigureParameters = configureParametersComponents.toEntity(ZmConfigureParameters.class,
|
|
@@ -661,7 +661,7 @@ public class ZhongMeiOrderApiServiceImpl implements ZhongMeiOrderApiService {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public HttpResult<Object> auditStatusQuery(String companyId) {
|
|
public HttpResult<Object> auditStatusQuery(String companyId) {
|
|
|
- InsAreaCompany insAreaCompany = insAreaCompanyService.getByInsOrderNo(companyId);
|
|
|
|
|
|
|
+ InsAreaCompany insAreaCompany = insAreaCompanyService.getByIdIsExist(companyId);
|
|
|
// 1. 协议id获取配置实体
|
|
// 1. 协议id获取配置实体
|
|
|
ZmConfigureParameters zmConfigureParameters = configureParametersComponents.toEntity(ZmConfigureParameters.class,
|
|
ZmConfigureParameters zmConfigureParameters = configureParametersComponents.toEntity(ZmConfigureParameters.class,
|
|
|
insAreaCompany.getAgreementId());
|
|
insAreaCompany.getAgreementId());
|