|
@@ -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">
|