소스 검색

备忘录

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}