bj 1 месяц назад
Родитель
Сommit
ccebd791a7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      assistMg/src/main/resources/mapper/CostProjectMemoMapper.xml

+ 1 - 1
assistMg/src/main/resources/mapper/CostProjectMemoMapper.xml

@@ -115,7 +115,7 @@
 
 
             <if test=" dataScope != null and  dataScope != ''">
             <if test=" dataScope != null and  dataScope != ''">
                 <if test=" dataScope ==1">
                 <if test=" dataScope ==1">
-                    and cpa.area_code like concat ('%',substring({ cityCode},1,4), '%')
+                    and cpa.area_code like concat ('%',substring(#{ cityCode},1,4), '%')
                 </if>
                 </if>
                 <if test=" dataScope ==2">
                 <if test=" dataScope ==2">
                     and cpa.area_code=#{ countyCode}
                     and cpa.area_code=#{ countyCode}