Преглед на файлове

司机档案查询优化

czh преди 1 година
родител
ревизия
35d009c6a1
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      sckw-modules/sckw-fleet/src/main/resources/mapper/KwfDriverMapper.xml

+ 3 - 3
sckw-modules/sckw-fleet/src/main/resources/mapper/KwfDriverMapper.xml

@@ -128,10 +128,10 @@
             and dr.phone = #{params.phone, jdbcType=VARCHAR}
         </if>
         <if test="params.licenseType != null and params.licenseType != ''">
-            and drl.type = #{licenseType, jdbcType=VARCHAR}
+            and drl.type = #{params.licenseType, jdbcType=VARCHAR}
         </if>
-        <if test="sparams.tatus != null and params.status != ''">
-            and dr.status = #{status, jdbcType=VARCHAR}
+        <if test="params.status != null and params.status != ''">
+            and dr.status = #{params.status, jdbcType=VARCHAR}
         </if>
         <if test="params.authStatus != null and params.authStatus != '' and params.authStatus != 0">
             and dr.auth_status = #{params.authStatus, jdbcType=VARCHAR}