|
@@ -165,8 +165,7 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
|
|
|
|
|
// 查出最新状态的子订单修改
|
|
// 查出最新状态的子订单修改
|
|
|
if (!InsOrderStatusEnum.ACCEPT_INSURANCE.getCode().equals(insAreaCompany.getOrderstatus())) {
|
|
if (!InsOrderStatusEnum.ACCEPT_INSURANCE.getCode().equals(insAreaCompany.getOrderstatus())) {
|
|
|
- InsAreaCompany insAreaCompanyNew = insAreaCompanyService.queryLatestStatus(insAreaCompany.getOrderno());
|
|
|
|
|
- orderStatus = insAreaCompanyNew.getOrderstatus();
|
|
|
|
|
|
|
+ orderStatus = insAreaCompanyService.queryLatestStatus(insAreaCompany.getOrderno());
|
|
|
} else {
|
|
} else {
|
|
|
insOrders.setCompanyId(insAreaCompany.getCompanyId());
|
|
insOrders.setCompanyId(insAreaCompany.getCompanyId());
|
|
|
insOrders.setInsCompany(insAreaCompany.getInscompany());
|
|
insOrders.setInsCompany(insAreaCompany.getInscompany());
|