src/main/resources/mapper/data/MetaMapper.xml
@@ -205,6 +205,12 @@ order by depcode; </select> <select id="selectCountByPath" resultType="java.lang.Integer"> with a as (select count(*) from lf.sys_meta where path = #{path}), b as (select count(*) from lf.sys_attach where path = #{path}) select a.count + b.count "count" from a, b; </select> <insert id="insert" parameterType="com.lf.server.entity.data.MetaEntity"> <selectKey resultType="java.lang.Integer" order="AFTER" keyProperty="id"> select currval('lf.sys_meta_id_seq'::regclass) as id