瀏覽代碼

订单查询修改

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>