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/inventory/StockProductMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/inventory/StockProductMapper.xml b/src/main/resources/mapper/inventory/StockProductMapper.xml
index ad820b3..baf75a8 100644
--- a/src/main/resources/mapper/inventory/StockProductMapper.xml
+++ b/src/main/resources/mapper/inventory/StockProductMapper.xml
@@ -4,7 +4,7 @@
         "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ruoyi.inventory.mapper.StockProductMapper">
 
-    <resultMap id="BaseResultMap" type="inventory.domain.StockProduct">
+    <resultMap id="BaseResultMap" type="com.ruoyi.inventory.pojo.StockProduct">
             <id property="id" column="id" jdbcType="INTEGER"/>
             <result property="productCategory" column="product_category" jdbcType="VARCHAR"/>
             <result property="specModel" column="spec_model" jdbcType="VARCHAR"/>
@@ -22,7 +22,7 @@
         from stock_product
         where  id = #{id,jdbcType=INTEGER} 
     </select>
-    <select id="selectList" resultType="inventory.domain.StockProduct">
+    <select id="selectList" resultType="com.ruoyi.inventory.pojo.StockProduct">
         select
         <include refid="Base_Column_List" />
         from stock_product
@@ -33,7 +33,7 @@
         where  id = #{id,jdbcType=INTEGER} 
     </delete>
 
-    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="inventory.domain.StockProduct" useGeneratedKeys="true">
+    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.inventory.pojo.StockProduct" useGeneratedKeys="true">
         insert into stock_product
         <trim prefix="(" suffix=")" suffixOverrides=",">
                 <if test="id != null">id,</if>
@@ -48,7 +48,7 @@
                 <if test="unit != null">#{unit,jdbcType=VARCHAR},</if>
         </trim>
     </insert>
-    <update id="updateByPrimaryKeySelective" parameterType="inventory.domain.StockProduct">
+    <update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.inventory.pojo.StockProduct">
         update stock_product
         <set>
                 <if test="productCategory != null">

--
Gitblit v1.9.3