소스 검색

村庄规划待办、办结查询接口优化

wanger 5 달 전
부모
커밋
fa2e6448e0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      onemap-modules/onemap-apply/src/main/resources/mapper/oracle/sbjk/XzxzghcgsbMapper.xml

+ 1 - 1
onemap-modules/onemap-apply/src/main/resources/mapper/oracle/sbjk/XzxzghcgsbMapper.xml

@@ -60,7 +60,7 @@
                 null or record.scjl = '') and rownum = 1 ) = #{username}
             </when>
             <when test="type == '11'.toString()">
-                and t.msg in ( select id from t_cggl_scmx where users like '%'||#{username}||'%' )
+                and to_char(t.msg) in ( select id from t_cggl_scmx where users like '%'||#{username}||'%' )
             </when>
             <otherwise>