From c31e03f0e51214a524d3fc34d30f3459698ff625 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 02 六月 2023 17:16:30 +0800 Subject: [PATCH] 4.变更所有类的名称空间 --- src/main/resources/mapper/show/PublishMapper.xml | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/resources/mapper/show/PublishMapper.xml b/src/main/resources/mapper/show/PublishMapper.xml index 70e49d6..e0a72ac 100644 --- a/src/main/resources/mapper/show/PublishMapper.xml +++ b/src/main/resources/mapper/show/PublishMapper.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> -<mapper namespace="com.lf.server.mapper.data.PublishMapper"> +<mapper namespace="com.moon.server.mapper.data.PublishMapper"> <select id="selectMetasByCount" resultType="java.lang.Integer"> select count(*) from lf.sys_meta <where> @@ -20,7 +20,7 @@ </where> </select> - <select id="selectMetasByPage" resultType="com.lf.server.entity.data.MetaEntity"> + <select id="selectMetasByPage" resultType="com.moon.server.entity.data.MetaEntity"> select (select c.url from lf.sys_meta_pub b inner join lf.sys_publish c on b.pubid = c.id where b.metaid = a.id limit 1) "url", (select ST_AsText(c.geom) from lf.sys_meta_pub b inner join lf.sys_publish c on b.pubid = c.id where b.metaid = a.id limit 1) "geom", @@ -54,7 +54,7 @@ </where> </select> - <select id="selectByPage" resultType="com.lf.server.entity.data.PublishEntity"> + <select id="selectByPage" resultType="com.moon.server.entity.data.PublishEntity"> select ST_AsText(geom) "geom", a.*, fn_get_fullname(a.depid, 1) depName, fn_get_fullname(a.dirid, 2) dirName, fn_uname(create_user) createName, fn_uname(update_user) updateName from lf.sys_publish a <where> @@ -66,21 +66,21 @@ limit #{limit} offset #{offset} </select> - <select id="selectAll" resultType="com.lf.server.entity.data.PublishEntity"> + <select id="selectAll" resultType="com.moon.server.entity.data.PublishEntity"> select * from lf.sys_publish order by id desc; </select> - <select id="selectById" resultType="com.lf.server.entity.data.PublishEntity"> + <select id="selectById" resultType="com.moon.server.entity.data.PublishEntity"> select ST_AsText(geom) "geom", a.*, fn_get_fullname(a.depid, 1) depName, fn_get_fullname(a.dirid, 2) dirName, fn_uname(create_user) createName, fn_uname(update_user) updateName from lf.sys_publish a where id = #{id} </select> - <select id="selectByIds" resultType="com.lf.server.entity.data.PublishEntity"> + <select id="selectByIds" resultType="com.moon.server.entity.data.PublishEntity"> select * from lf.sys_publish where id in (${ids}) order by id desc; </select> - <insert id="insert" parameterType="com.lf.server.entity.data.PublishEntity"> + <insert id="insert" parameterType="com.moon.server.entity.data.PublishEntity"> insert into lf.sys_publish (regid,name,url,path,type,status,dirid,depid,min,max,json,create_user,create_time,bak) values -- Gitblit v1.9.3