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/ResMapper.xml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/mapper/sys/ResMapper.xml b/src/main/resources/mapper/sys/ResMapper.xml index ee92178..c111b38 100644 --- a/src/main/resources/mapper/sys/ResMapper.xml +++ b/src/main/resources/mapper/sys/ResMapper.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.ResMapper"> +<mapper namespace="com.moon.server.mapper.sys.ResMapper"> <select id="selectCount" resultType="java.lang.Integer"> select count(*) from lf.sys_res <where> @@ -10,7 +10,7 @@ </where> </select> - <select id="selectByPage" resultType="com.lf.server.entity.sys.ResEntity"> + <select id="selectByPage" resultType="com.moon.server.entity.sys.ResEntity"> select a.*,fn_rec_query(a.depid, 'dep') depName,fn_rec_query(a.dirid, 'dir') dirName,fn_uname(a.create_user) createName,fn_uname(a.update_user) updateName from lf.sys_res a <where> <if test="name != null"> @@ -32,7 +32,7 @@ ) </select> - <select id="selectByPageForRole" resultType="com.lf.server.entity.sys.ResEntity"> + <select id="selectByPageForRole" resultType="com.moon.server.entity.sys.ResEntity"> select a.* from lf.sys_res a where not exists (select b.id from lf.sys_role_res b <where> b.resid = a.id @@ -45,15 +45,15 @@ limit #{limit} offset #{offset} </select> - <select id="selectResAll" resultType="com.lf.server.entity.sys.ResEntity"> + <select id="selectResAll" resultType="com.moon.server.entity.sys.ResEntity"> select * from lf.sys_res order by id desc </select> - <select id="selectRes" resultType="com.lf.server.entity.sys.ResEntity"> + <select id="selectRes" resultType="com.moon.server.entity.sys.ResEntity"> select * from lf.sys_res where id = #{id} </select> - <insert id="insertRes" parameterType="com.lf.server.entity.data.DictEntity"> + <insert id="insertRes" parameterType="com.moon.server.entity.data.DictEntity"> insert into lf.sys_res (name,server,source,depid,dirid,code,descr,img,create_user,create_time,bak) values -- Gitblit v1.9.3