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/AttachMapper.xml |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/main/resources/mapper/sys/AttachMapper.xml b/src/main/resources/mapper/sys/AttachMapper.xml
index 2b4cc40..c31a8c3 100644
--- a/src/main/resources/mapper/sys/AttachMapper.xml
+++ b/src/main/resources/mapper/sys/AttachMapper.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.AttachMapper">
+<mapper namespace="com.moon.server.mapper.sys.AttachMapper">
     <select id="selectCount" resultType="java.lang.Integer">
         select count(*) from lf.sys_attach
         <where>
@@ -10,7 +10,7 @@
         </where>
     </select>
 
-    <select id="selectByPage" resultType="com.lf.server.entity.sys.AttachEntity">
+    <select id="selectByPage" resultType="com.moon.server.entity.sys.AttachEntity">
         select * from lf.sys_attach
         <where>
             <if test="name != null">
@@ -21,30 +21,30 @@
         limit #{limit} offset #{offset}
     </select>
 
-    <select id="selectAll" resultType="com.lf.server.entity.sys.AttachEntity">
+    <select id="selectAll" resultType="com.moon.server.entity.sys.AttachEntity">
         select * from lf.sys_attach order by id desc;
     </select>
 
-    <select id="selectById" resultType="com.lf.server.entity.sys.AttachEntity">
+    <select id="selectById" resultType="com.moon.server.entity.sys.AttachEntity">
         select * from lf.sys_attach where id = #{id}
     </select>
 
-    <select id="selectByGuid" resultType="com.lf.server.entity.sys.AttachEntity">
+    <select id="selectByGuid" resultType="com.moon.server.entity.sys.AttachEntity">
         select * from lf.sys_attach where guid = #{guid} limit 1
     </select>
 
-    <select id="selectByGuids" resultType="com.lf.server.entity.sys.AttachEntity">
+    <select id="selectByGuids" resultType="com.moon.server.entity.sys.AttachEntity">
         select * from lf.sys_attach where guid in
         <foreach item="guid" collection="guids" index="index" open="(" separator="," close=")">
             #{guid}
         </foreach>
     </select>
 
-    <select id="selectByTabAndGuid" resultType="com.lf.server.entity.sys.AttachEntity">
+    <select id="selectByTabAndGuid" resultType="com.moon.server.entity.sys.AttachEntity">
         select * from lf.sys_attach where tab = #{tab} and tab_guid = #{tabGuid} and guid = #{guid} limit 1
     </select>
 
-    <select id="selectByTabGuids" resultType="com.lf.server.entity.sys.AttachEntity">
+    <select id="selectByTabGuids" resultType="com.moon.server.entity.sys.AttachEntity">
         select * from lf.sys_attach
         <where>
             tab = #{tab}
@@ -57,11 +57,11 @@
         </where>
     </select>
 
-    <select id="selectByTab" resultType="com.lf.server.entity.sys.AttachEntity">
+    <select id="selectByTab" resultType="com.moon.server.entity.sys.AttachEntity">
         select * from lf.sys_attach where tab = #{tab} and tab_guid = #{guid}
     </select>
 
-    <insert id="insert" parameterType="com.lf.server.entity.sys.AttachEntity">
+    <insert id="insert" parameterType="com.moon.server.entity.sys.AttachEntity">
        insert into lf.sys_attach
        (name,tab,tab_guid,guid,path,sizes,create_user,create_time)
        values
@@ -104,7 +104,7 @@
         </foreach>
     </update>
 
-    <select id="selectFmeLogs" resultType="com.lf.server.entity.data.FmeLogEntity">
+    <select id="selectFmeLogs" resultType="com.moon.server.entity.data.FmeLogEntity">
         select * from lf.sys_fme_log
         where count > 0 and update_time is null and create_time > now()::timestamp + '-5 min' and position(tcdm in '${tabs}') > 0;
     </select>

--
Gitblit v1.9.3