From 45fa0764c539a1164affc0937a6870fe988bf2c8 Mon Sep 17 00:00:00 2001
From: lishenao <3065849776@qq.com>
Date: 星期三, 25 六月 2025 14:22:35 +0800
Subject: [PATCH] 包名优化

---
 src/main/resources/mapper/staff_management/RyglAddEmployeeMapper.xml |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/mapper/staff_management/RyglAddEmployeeMapper.xml b/src/main/resources/mapper/staff_management/RyglAddEmployeeMapper.xml
index 2db9406..6eac2f7 100644
--- a/src/main/resources/mapper/staff_management/RyglAddEmployeeMapper.xml
+++ b/src/main/resources/mapper/staff_management/RyglAddEmployeeMapper.xml
@@ -4,7 +4,7 @@
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ruoyi.staff_management.mapper.RyglAddEmployeeMapper">
 
-    <resultMap id="BaseResultMap" type="staff_management.domain.RyglAddEmployee">
+    <resultMap id="BaseResultMap" type="com.ruoyi.staff_management.domain.RyglAddEmployee">
             <id property="id" column="id" jdbcType="INTEGER"/>
             <result property="status" column="status" jdbcType="INTEGER"/>
             <result property="employeeNumber" column="employee_number" jdbcType="VARCHAR"/>
@@ -52,7 +52,7 @@
         where  id = #{id,jdbcType=INTEGER} 
     </delete>
 
-    <insert id="insert" keyColumn="id" keyProperty="id" parameterType="staff_management.domain.RyglAddEmployee" useGeneratedKeys="true">
+    <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.staff_management.domain.RyglAddEmployee" useGeneratedKeys="true">
         insert into rygl_add_employee
         ( id,status,employee_number
         ,name,sex,native_place
@@ -69,7 +69,7 @@
         ,#{contractTerm,jdbcType=VARCHAR},#{contractStartDate,jdbcType=TIMESTAMP},#{contractEndDate,jdbcType=TIMESTAMP}
         )
     </insert>
-    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="staff_management.domain.RyglAddEmployee" useGeneratedKeys="true">
+    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.staff_management.domain.RyglAddEmployee" useGeneratedKeys="true">
         insert into rygl_add_employee
         <trim prefix="(" suffix=")" suffixOverrides=",">
                 <if test="id != null">id,</if>
@@ -112,7 +112,7 @@
                 <if test="contractEndDate != null">#{contractEndDate,jdbcType=TIMESTAMP},</if>
         </trim>
     </insert>
-    <update id="updateByPrimaryKeySelective" parameterType="staff_management.domain.RyglAddEmployee">
+    <update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.staff_management.domain.RyglAddEmployee">
         update rygl_add_employee
         <set>
                 <if test="status != null">
@@ -169,7 +169,7 @@
         </set>
         where   id = #{id,jdbcType=INTEGER} 
     </update>
-    <update id="updateByPrimaryKey" parameterType="staff_management.domain.RyglAddEmployee">
+    <update id="updateByPrimaryKey" parameterType="com.ruoyi.staff_management.domain.RyglAddEmployee">
         update rygl_add_employee
         set 
             status =  #{status,jdbcType=INTEGER},

--
Gitblit v1.9.3