浏览代码

删除没有的字段

gushoubang 4 月之前
父节点
当前提交
2f8938c4fb

+ 1 - 1
onemap-modules/onemap-apply/src/main/resources/mapper/postgresql/dimentity/DimEntityMapper.xml

@@ -85,7 +85,7 @@
     <select id="queryEntityCodeTableTreeDataByCodeV1" parameterType="String" resultMap="EntityCodeListVoResult">
         select * from (
         <foreach item="item" index="index" collection="tables" separator="UNION ALL">
-            select entityname,alias,entityid,formerid,elementid,elementcode,locationid,classid,classname,borntime,endtime,loadtime,updatests,updatetime,gb
+            select entityname,alias,entityid,formerid,elementid,locationid,classid,classname,borntime,endtime,loadtime,updatests,updatetime
             from vector.${item} where classid::varchar like concat(#{code},'%')
             <if test="entityid != null and entityid != '' "> and entityid::varchar like concat('%',#{entityid},'%') </if>
             <if test="entityname != null and entityname != '' "> and entityname::varchar like concat('%',#{entityname},'%') </if>