785834757 2 лет назад
Родитель
Сommit
ce2df2474a
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/main/resources/mapper/modules/order/InsOrdersMapper.xml

+ 3 - 0
src/main/resources/mapper/modules/order/InsOrdersMapper.xml

@@ -1260,6 +1260,9 @@
         <if test="param != null and param != ''">
         <if test="param != null and param != ''">
             AND (a.licenseno = #{param} or a.ins_company = #{param})
             AND (a.licenseno = #{param} or a.ins_company = #{param})
         </if>
         </if>
+        <if test="userId != null and userId != ''">
+            AND a.userid = #{userId}
+        </if>
 
 
     </select>
     </select>