Browse Source

备忘录

bj 1 month ago
parent
commit
ccebd791a7
1 changed files with 1 additions and 1 deletions
  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 ==1">
-                    and cpa.area_code like concat ('%',substring({ cityCode},1,4), '%')
+                    and cpa.area_code like concat ('%',substring(#{ cityCode},1,4), '%')
                 </if>
                 <if test=" dataScope ==2">
                     and cpa.area_code=#{ countyCode}