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/sys/AuthMapper.xml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/mapper/sys/AuthMapper.xml b/src/main/resources/mapper/sys/AuthMapper.xml index a323b94..d55329d 100644 --- a/src/main/resources/mapper/sys/AuthMapper.xml +++ b/src/main/resources/mapper/sys/AuthMapper.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.sys.AuthMapper"> +<mapper namespace="com.moon.server.mapper.sys.AuthMapper"> <select id="selectCount" resultType="java.lang.Integer"> select count(*) from lf.sys_auth <where> @@ -10,7 +10,7 @@ </where> </select> - <select id="selectByPage" resultType="com.lf.server.entity.sys.AuthEntity"> + <select id="selectByPage" resultType="com.moon.server.entity.sys.AuthEntity"> select a.*, fn_uname(create_user) createName, fn_uname(update_user) updateName from lf.sys_auth a <where> <if test="name != null"> @@ -32,7 +32,7 @@ ) </select> - <select id="selectByPageForMenu" resultType="com.lf.server.entity.sys.AuthEntity"> + <select id="selectByPageForMenu" resultType="com.moon.server.entity.sys.AuthEntity"> select a.*, fn_uname(create_user) createName, fn_uname(update_user) updateName from lf.sys_auth a where not exists (select b.id from lf.sys_menu_auth b <where> @@ -46,19 +46,19 @@ limit #{limit} offset #{offset} </select> - <select id="selectAuthAll" resultType="com.lf.server.entity.sys.AuthEntity"> + <select id="selectAuthAll" resultType="com.moon.server.entity.sys.AuthEntity"> select a.*, fn_uname(create_user) createName, fn_uname(update_user) updateName from lf.sys_auth a order by id </select> - <select id="selectAuth" resultType="com.lf.server.entity.sys.AuthEntity"> + <select id="selectAuth" resultType="com.moon.server.entity.sys.AuthEntity"> select a.*, fn_uname(create_user) createName, fn_uname(update_user) updateName from lf.sys_auth a where id = #{id} </select> - <insert id="insertAuth" parameterType="com.lf.server.entity.sys.AuthEntity"> + <insert id="insertAuth" parameterType="com.moon.server.entity.sys.AuthEntity"> insert into lf.sys_auth (name,tag,create_user,create_time,bak) values -- Gitblit v1.9.3