瀏覽代碼

无车优化,自有车接口返回

Administrator 1 年之前
父節點
當前提交
e9096bc0b7
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/resources/mapper/waybill/WayBillFileMapper.xml

+ 3 - 0
src/main/resources/mapper/waybill/WayBillFileMapper.xml

@@ -25,6 +25,9 @@
         <include refid="baseSql" />
         from t_waybill_File
         <where>
+            <if test="noCarWayBillFileInfo.customerId != null and noCarWayBillFileInfo.customerId != ''">
+                and  customerId = BINARY #{noCarWayBillFileInfo.customerId}
+            </if>
             <if test="noCarWayBillFileInfo.batchNum != null and noCarWayBillFileInfo.batchNum != ''">
                 and  batchNum =  BINARY #{noCarWayBillFileInfo.batchNum}
             </if>