Browse Source

标签 2边都可以设置

master
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.regionCodes != null">
and p.area_code in
<foreach close=")" collection="regionCodes" item="code" open="(" separator=",">
<foreach close=")" collection="req.regionCodes" item="code" open="(" separator=",">
#{code}
</foreach>
</if>
@@ -189,7 +189,7 @@
<if test="req.userType != null and req.userType == 'region'">
<if test="req.regionCodes != null">
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')
</foreach>
</if>


Loading…
Cancel
Save