소스 검색

修改代码

wks 2 년 전
부모
커밋
980a22bbf4
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      src/main/resources/mapper/modules/order/InsOrdersMapper.xml

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

@@ -321,9 +321,9 @@
             <if test="orderQueryVo.orderNo != null and orderQueryVo.orderNo != ''">
                 and io.orderno = #{orderQueryVo.orderNo}
             </if>
-<!--            <if test="orderQueryVo.deptId != null and orderQueryVo.deptId != '' and isTeamLeader">-->
-<!--                and io.deptid like "${orderQueryVo.deptId}%"-->
-<!--            </if>-->
+            <if test="orderQueryVo.deptId != null and orderQueryVo.deptId != '' and isTeamLeader">
+                and io.deptid like "${orderQueryVo.deptId}%"
+            </if>
             <if test="orderQueryVo.orderStatus != null and orderQueryVo.orderStatus != ''">
                 and io.orderstatus = #{orderQueryVo.orderStatus}
             </if>
@@ -342,9 +342,9 @@
             <if test="orderQueryVo.companyId != null and orderQueryVo.companyId != ''">
                 and iac.company_id = #{orderQueryVo.companyId}
             </if>
-<!--            <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 isCdy">
+                and io.operatorid = #{orderQueryVo.userId}
+            </if>
             <if test="orderQueryVo.userId != null and orderQueryVo.userId != '' and !isTeamLeader">
                 and io.userid = #{orderQueryVo.userId}
             </if>