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>