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