Преглед на файлове

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

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>