785834757 преди 2 години
родител
ревизия
2469b3fe52
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/mapper/modules/order/InsOrdersMapper.xml

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

@@ -249,7 +249,7 @@
             <if test="orderQueryVo.userId != null and orderQueryVo.userId != '' and isCdy">
                 and io.operatorid = #{orderQueryVo.userId}
             </if>
-            <if test="orderQueryVo.userId != null and orderQueryVo.userId != '' and isTeamLeader">
+            <if test="orderQueryVo.userId != null and orderQueryVo.userId != '' and !isTeamLeader">
                 and io.userid = #{orderQueryVo.userId}
             </if>
         </where>