wks vor 2 Jahren
Ursprung
Commit
980a22bbf4
1 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  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>