Explorar el Código

提交查看订单详情身份证为01时改为身份证bug处理

hxl13994548489 hace 2 años
padre
commit
fdcb762a5c

+ 4 - 0
src/main/java/com/ydtech/modules/order/service/impl/InsOrdersServiceImpl.java

@@ -756,6 +756,8 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
         //orderAndAreaCompany.setInsureinfo(setNewPhone(orderAndAreaCompany.getInsureinfo()));
         //add by  hxl  处理特殊情况返回信息 身份证信息变为01时前台返回身份证信息
         orderAndAreaCompany.setOwnerinfo(setNewIdentifyType(orderAndAreaCompany.getOwnerinfo()));
+        orderAndAreaCompany.setApplyinfo(setNewIdentifyType(orderAndAreaCompany.getApplyinfo()));
+        orderAndAreaCompany.setInsureinfo(setNewIdentifyType(orderAndAreaCompany.getInsureinfo()));
         return HttpResult.ok("success", orderAndAreaCompany);
     }
     /**
@@ -1106,6 +1108,8 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
         orderAndAreaCompany.setInsureinfo(setNewPhone(orderAndAreaCompany.getInsureinfo()));
         //add by  hxl  处理特殊情况返回信息 身份证信息变为01时前台返回身份证信息
         orderAndAreaCompany.setOwnerinfo(setNewIdentifyType(orderAndAreaCompany.getOwnerinfo()));
+        orderAndAreaCompany.setApplyinfo(setNewIdentifyType(orderAndAreaCompany.getApplyinfo()));
+        orderAndAreaCompany.setInsureinfo(setNewIdentifyType(orderAndAreaCompany.getInsureinfo()));
         return HttpResult.ok("success", orderAndAreaCompany);
     }