Quellcode durchsuchen

报价详情 搜索条件修改

785834757 vor 1 Jahr
Ursprung
Commit
bbc6e53582
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/main/resources/mapper/modules/order/SysQuoteRecordMapper.xml

+ 1 - 1
src/main/resources/mapper/modules/order/SysQuoteRecordMapper.xml

@@ -55,7 +55,7 @@
                 AND sqr.result = #{param.result}
             </if>
             <if test="param.agent != null and param.agent != ''">
-                AND sqr.user_id = #{param.agent}
+                AND (sqr.user_id = #{param.agent} or su.name = #{param.agent})
             </if>
             <if test="param.operator != null and param.operator != ''">
                 AND sqr.operator = #{param.operator}