浏览代码

备忘录

bj 1 月之前
父节点
当前提交
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 ==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}