Jelajahi Sumber

车型查询配置修改

wks 2 tahun lalu
induk
melakukan
6b13dfebfc

+ 2 - 3
src/main/java/com/ydtech/modules/order/entity/vo/OrderQueryVo.java

@@ -123,8 +123,10 @@ public class OrderQueryVo {
 
     @ApiModelProperty(value = "起保开始时间")
     private String attachStartDateStr;
+
     @ApiModelProperty(value = "起保结束时间")
     private String attachEndDateStr;
+
     @ApiModelProperty(value = "机构来源")
     private String managementSource;
 
@@ -153,9 +155,6 @@ public class OrderQueryVo {
     @ApiModelProperty(value = "非车保单号")
     private String noPolicyNo;
 
-    @ApiModelProperty(value = "业务来源")
-    private String source;
-
     public LocalDate getEndDatePlusOneDay() {
         if(ObjectUtils.isEmpty(endDate)){
             return endDate;

+ 4 - 6
src/main/resources/mapper/modules/order/InsOrdersMapper.xml

@@ -951,8 +951,8 @@
                 and iac.id = #{orderQueryVo.orderNo}
             </if>
 
-            <if test="orderQueryVo.source != null and orderQueryVo.source != ''">
-                and dept.management_source = #{orderQueryVo.orderNo.source}
+            <if test="orderQueryVo.managementSource != null and orderQueryVo.managementSource != ''">
+                and dept.management_source = #{orderQueryVo.managementSource}
             </if>
 
             <if test="orderQueryVo.deptId != null and orderQueryVo.deptId != ''">
@@ -1077,11 +1077,9 @@
             <if test="orderQueryVo.orderNo != null and orderQueryVo.orderNo != ''">
                 and iac.id = #{orderQueryVo.orderNo}
             </if>
-
-            <if test="orderQueryVo.source != null and orderQueryVo.source != ''">
-                and dept.management_source = #{orderQueryVo.orderNo.source}
+            <if test="orderQueryVo.managementSource != null and orderQueryVo.managementSource != ''">
+                and dept.management_source = #{orderQueryVo.managementSource}
             </if>
-
             <if test="orderQueryVo.deptId != null and orderQueryVo.deptId != ''">
                 and io.deptid like "${orderQueryVo.deptId}%"
             </if>