Explorar el Código

订单查询修改

785834757 hace 2 años
padre
commit
2469b3fe52
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>