Przeglądaj źródła

标签 2边都可以设置

tags/24080901
PoffyZhang 1 rok temu
rodzic
commit
7c60972333
1 zmienionych plików z 2 dodań i 2 usunięć
  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 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz