소스 검색

订单查询修改

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>