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/ApplyMapper.xml | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/resources/mapper/show/ApplyMapper.xml b/src/main/resources/mapper/show/ApplyMapper.xml index cd1f032..fff9377 100644 --- a/src/main/resources/mapper/show/ApplyMapper.xml +++ b/src/main/resources/mapper/show/ApplyMapper.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.show.ApplyMapper"> +<mapper namespace="com.moon.server.mapper.show.ApplyMapper"> <select id="selectCount" resultType="java.lang.Integer"> select count(*) from lf.sys_apply a inner join lf.sys_user b on a.userid = b.id <where> @@ -25,7 +25,7 @@ </where> </select> - <select id="selectByPage" resultType="com.lf.server.entity.show.ApplyEntity"> + <select id="selectByPage" resultType="com.moon.server.entity.show.ApplyEntity"> select case a.userid when #{userid} then guid else null end "guid", a.*, b.uname, (select count(*) from lf.sys_flow c where c.applyid = a.id and c.status = 0 and c.userid = #{userid}) isVerify @@ -54,15 +54,15 @@ limit #{limit} offset #{offset} </select> - <select id="selectAll" resultType="com.lf.server.entity.show.ApplyEntity"> + <select id="selectAll" resultType="com.moon.server.entity.show.ApplyEntity"> select * from lf.sys_apply order by id desc </select> - <select id="selectById" resultType="com.lf.server.entity.show.ApplyEntity"> + <select id="selectById" resultType="com.moon.server.entity.show.ApplyEntity"> select * from lf.sys_apply where id = #{id} </select> - <select id="selectUserByDepcode" resultType="com.lf.server.entity.sys.UserEntity"> + <select id="selectUserByDepcode" resultType="com.moon.server.entity.sys.UserEntity"> select c.* from lf.sys_role a inner join lf.sys_role_user b on a.id = b.roleid inner join lf.sys_user c on b.userid = c.id where a.is_admin = 2 and c.depcode = #{depcode} @@ -74,13 +74,13 @@ where a.status between 0 and 9 and b.status = 0 and b.userid = #{userid} </select> - <select id="selectFlows" resultType="com.lf.server.entity.show.FlowEntity"> + <select id="selectFlows" resultType="com.moon.server.entity.show.FlowEntity"> select a.*, b.uname, fn_get_fullname(a.depcode, 1) depName from lf.sys_flow a inner join lf.sys_user b on a.userid = b.id where a.applyid = #{applyid} </select> - <insert id="insert" parameterType="com.lf.server.entity.show.ApplyEntity"> + <insert id="insert" parameterType="com.moon.server.entity.show.ApplyEntity"> <selectKey resultType="java.lang.Integer" order="AFTER" keyProperty="id"> select currval('lf.sys_apply_id_seq'::regclass) as id </selectKey> -- Gitblit v1.9.3