Browse Source

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

wanger 5 months ago
parent
commit
fa2e6448e0

+ 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}
                 null or record.scjl = '') and rownum = 1 ) = #{username}
             </when>
             </when>
             <when test="type == '11'.toString()">
             <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>
             </when>
             <otherwise>
             <otherwise>