wangbo 4 years ago
parent
commit
2bad0480f1

+ 3 - 3
operation_manager/src/main/resources/mapper/order/WorkOrderManageMapper.xml

@@ -560,7 +560,7 @@
       </if>
       <if test="order.userType!=null and order.userType!=-999 and order.userType!=-9999 and  order.programItems != null and order.programItems.size() > 0">
         <if test="order.permissonType == 5 or order.permissonType == 2">
-          and ( t1.DEPT_ORG_ID in
+          and ( t1.department_org_id in
           <foreach collection="order.programItems" item="item" open="(" close=")" separator=",">
             #{item.orgId}
           </foreach>
@@ -572,7 +572,7 @@
           )
         </if>
         <if test="order.permissonType == 4 or order.permissonType == 3">
-          and t1.DEPT_ORG_ID in
+          and t1.department_org_id in
           <foreach collection="order.programItems" item="item" open="(" close=")" separator=",">
             #{item.orgId}
           </foreach>
@@ -582,7 +582,7 @@
           <foreach collection="order.programItems" item="item" open="(" close=")" separator=",">
             #{item.orgId}
           </foreach>
-          and (t1.DEPT_ORG_ID is null or t1.DEPT_ORG_ID =0)
+          and (t1.department_org_id is null or t1.department_org_id =0)
         </if>
       </if>
       <if test="order.orderStatus != null">

+ 3 - 3
operation_manager/src/main/resources/mapper/task/PlanManageMapper.xml

@@ -403,7 +403,7 @@
       </if>
       <if test="plan.userType!=null and plan.userType!=-999 and plan.userType!=-9999 and  plan.programItems != null and plan.programItems.size() > 0">
         <if test="plan.permissonType == 5 or plan.permissonType == 2">
-          and ( t1.DEPT_ORG_ID in
+          and ( t1.department_org_id in
           <foreach collection="plan.programItems" item="item" open="(" close=")" separator=",">
             #{item.orgId}
           </foreach>
@@ -415,7 +415,7 @@
           )
         </if>
         <if test="plan.permissonType == 4 or plan.permissonType == 3">
-          and t1.DEPT_ORG_ID in
+          and t1.department_org_id in
           <foreach collection="plan.programItems" item="item" open="(" close=")" separator=",">
             #{item.orgId}
           </foreach>
@@ -425,7 +425,7 @@
           <foreach collection="plan.programItems" item="item" open="(" close=")" separator=",">
             #{item.orgId}
           </foreach>
-          and (t1.DEPT_ORG_ID is null or t1.DEPT_ORG_ID =0)
+          and (t1.department_org_id is null or t1.department_org_id =0)
         </if>
       </if>
       <if test="plan.planStatus != null">