renqianlong 1 жил өмнө
parent
commit
9ba77b5219

+ 3 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/order/bo/CompanyOrderInvoiceBo.java

@@ -55,5 +55,7 @@ public class CompanyOrderInvoiceBo implements Serializable {
     /** 经办手机号 */
     @ApiModelProperty("经办手机号")
     private String telphone;
-
+    /** 经办订单 */
+    @ApiModelProperty("经办订单")
+    private String handleOrderSn;
 }

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/order/vo/CompanyOrderInvoiceVo.java

@@ -93,4 +93,7 @@ public class CompanyOrderInvoiceVo implements Serializable {
     /** 经办手机号 */
     @ApiModelProperty("经办手机号")
     private String telphone;
+    /** 经办订单 */
+    @ApiModelProperty("经办订单")
+    private String handleOrderSn;
 }

+ 3 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/order/vo/CompanyStatisticsVo.java

@@ -27,5 +27,8 @@ public class CompanyStatisticsVo implements Serializable {
 
     @ApiModelProperty("待审发票")
     private Integer unApplyNum;
+    /** 经办订单 */
+    @ApiModelProperty("经办订单")
+    private String handleOrderSn;
 
 }

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/order/OrderInvoiceMapper.xml

@@ -205,6 +205,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="businessId != null and businessId != ''">
             AND oh.business_id = #{businessId}
         </if>
+        <if test="handleOrderSn != null and handleOrderSn != ''">
+            AND oi.order_sn = #{handleOrderSn}
+        </if>
         <if test="invoiceStatus != null and invoiceStatus == 1">
             AND oi.period_status = 1
         </if>