Explorar el Código

比价添加车辆品牌型号

hxl13994548489 hace 2 años
padre
commit
d9d42b3844

+ 7 - 1
src/main/java/com/ydtech/modules/order/entity/vo/InsOrderVo.java

@@ -62,10 +62,15 @@ public class InsOrderVo implements Serializable {
     @ApiModelProperty("商业险结束时间")
     @ApiModelProperty("商业险结束时间")
     private String syendDate;
     private String syendDate;
 
 
+    @ApiModelProperty("车辆型号")
+    private String modelcname;
+
+
+
     public InsOrderVo() {
     public InsOrderVo() {
     }
     }
 
 
-    public InsOrderVo(String orderNo, String frameNo, String licenseNo,String brandName, String engineNo, String seatCount, String carOwnerName, String ownerIdentifyNumber, String applyName, String applyIdentifyNumber, String insuredName, String insuredNumber, String jqstartDate, String jqendDate, String systartDate, String syendDate) {
+    public InsOrderVo(String orderNo, String frameNo, String licenseNo,String brandName, String engineNo, String seatCount, String carOwnerName, String ownerIdentifyNumber, String applyName, String applyIdentifyNumber, String insuredName, String insuredNumber, String jqstartDate, String jqendDate, String systartDate, String syendDate,String modelcname) {
         this.orderNo = orderNo;
         this.orderNo = orderNo;
         this.frameNo = frameNo;
         this.frameNo = frameNo;
         this.licenseNo = licenseNo;
         this.licenseNo = licenseNo;
@@ -82,5 +87,6 @@ public class InsOrderVo implements Serializable {
         this.jqendDate = jqendDate;
         this.jqendDate = jqendDate;
         this.systartDate = systartDate;
         this.systartDate = systartDate;
         this.syendDate = syendDate;
         this.syendDate = syendDate;
+        this.modelcname = modelcname;
     }
     }
 }
 }

+ 3 - 1
src/main/java/com/ydtech/modules/order/service/impl/InsOrdersServiceImpl.java

@@ -1622,7 +1622,9 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
                 StringUtils.isEmpty(orders.getJqstartdate()) ? "" : orders.getJqstartdate(),
                 StringUtils.isEmpty(orders.getJqstartdate()) ? "" : orders.getJqstartdate(),
                 StringUtils.isEmpty(orders.getJqenddate()) ? "" : orders.getJqenddate(),
                 StringUtils.isEmpty(orders.getJqenddate()) ? "" : orders.getJqenddate(),
                 StringUtils.isEmpty(orders.getSystartdate()) ? "" : orders.getSystartdate(),
                 StringUtils.isEmpty(orders.getSystartdate()) ? "" : orders.getSystartdate(),
-                StringUtils.isEmpty(orders.getSyenddate()) ? "" : orders.getSyenddate());
+                StringUtils.isEmpty(orders.getSyenddate()) ? "" : orders.getSyenddate(),
+                StringUtils.isEmpty(carinfo.getString("modelcname")) ? "" : carinfo.getString("modelcname")
+                );
         return insOrderVo;
         return insOrderVo;
     }
     }