Ver Fonte

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

Administrator há 1 ano atrás
pai
commit
e9096bc0b7
1 ficheiros alterados com 3 adições e 0 exclusões
  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>