|
|
@@ -93,10 +93,10 @@ |
|
|
|
and p.approval_amount <= #{req.approveAmountMax} |
|
|
|
</if> |
|
|
|
<if test="req.userType != null and req.userType == 'normal'"> |
|
|
|
and p.buil_org_code = #{req.userValue} |
|
|
|
and p.build_org_code = #{req.userValue} |
|
|
|
</if> |
|
|
|
<if test="req.userType != null and req.userType == 'org'"> |
|
|
|
and (p.buil_org_code = #{req.userValue} or |
|
|
|
and (p.build_org_code = #{req.userValue} or |
|
|
|
(p.stage = 10000 and p.status = 10003 and p.super_org_code = #{req.userValue})) |
|
|
|
</if> |
|
|
|
<if test="req.userType != null and req.userType == 'region'"> |
|
|
|