Browse Source

标签 2边都可以设置

tags/24080901
PoffyZhang 1 year ago
parent
commit
7c60972333
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

@@ -102,7 +102,7 @@
<if test="req.userType != null and req.userType == 'region'"> <if test="req.userType != null and req.userType == 'region'">
<if test="req.regionCodes != null"> <if test="req.regionCodes != null">
and p.area_code in and p.area_code in
<foreach close=")" collection="regionCodes" item="code" open="(" separator=",">
<foreach close=")" collection="req.regionCodes" item="code" open="(" separator=",">
#{code} #{code}
</foreach> </foreach>
</if> </if>
@@ -189,7 +189,7 @@
<if test="req.userType != null and req.userType == 'region'"> <if test="req.userType != null and req.userType == 'region'">
<if test="req.regionCodes != null"> <if test="req.regionCodes != null">
and b.base_area_code in and b.base_area_code in
<foreach close=")" collection="regionCodes" item="code" open="(" separator=",">
<foreach close=")" collection="req.regionCodes" item="code" open="(" separator=",">
concat(#{code},'000') concat(#{code},'000')
</foreach> </foreach>
</if> </if>


Loading…
Cancel
Save