Browse Source

标签 2边都可以设置

master
PoffyZhang 1 year ago
parent
commit
a0e0abca5a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectMapper.xml

+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/mapper/ProjectMapper.xml View File

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


Loading…
Cancel
Save