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/StockInMapper.xml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/mapper/inventory/StockInMapper.xml b/src/main/resources/mapper/inventory/StockInMapper.xml
index 5f161e7..223d083 100644
--- a/src/main/resources/mapper/inventory/StockInMapper.xml
+++ b/src/main/resources/mapper/inventory/StockInMapper.xml
@@ -4,7 +4,7 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.inventory.mapper.StockInMapper">
- <resultMap id="BaseResultMap" type="com.ruoyi.inventory.domain.StockIn">
+ <resultMap id="BaseResultMap" type="com.ruoyi.inventory.pojo.StockIn">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="productId" column="product_id" jdbcType="INTEGER"/>
<result property="inboundTime" column="inbound_time" jdbcType="TIMESTAMP"/>
@@ -16,7 +16,7 @@
<result property="taxRate" column="tax_rate" jdbcType="DECIMAL"/>
<result property="taxExclusiveTotal" column="tax_exclusive_total" jdbcType="DECIMAL"/>
<result property="inboundPerson" column="inbound_person" jdbcType="VARCHAR"/>
- <collection property="stockProducts" ofType="com.ruoyi.inventory.domain.StockProduct"
+ <collection property="stockProducts" ofType="com.ruoyi.inventory.pojo.StockProduct"
select="com.ruoyi.inventory.mapper.StockProductMapper.selectByPrimaryKey" column="productId">
<id property="id" column="productId" jdbcType="INTEGER"/>
</collection>
@@ -35,12 +35,12 @@
from stock_in
where id = #{id,jdbcType=INTEGER}
</select>
- <select id="selectList" resultType="com.ruoyi.inventory.domain.StockIn">
+ <select id="selectList" resultType="com.ruoyi.inventory.pojo.StockIn">
select
<include refid="Base_Column_List" />
from stock_in
</select>
- <select id="selectListByPage" resultType="com.ruoyi.inventory.domain.StockIn">
+ <select id="selectListByPage" resultType="com.ruoyi.inventory.pojo.StockIn">
select
<include refid="Base_Column_List" />
from stock_in
@@ -52,7 +52,7 @@
where id = #{id,jdbcType=INTEGER}
</delete>
- <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="inventory.domain.StockIn" useGeneratedKeys="true">
+ <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.inventory.pojo.StockIn" useGeneratedKeys="true">
insert into stock_in
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
@@ -82,7 +82,7 @@
</trim>
</insert>
- <update id="updateByPrimaryKeySelective" parameterType="inventory.domain.StockIn">
+ <update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.inventory.pojo.StockIn">
update stock_in
<set>
<if test="productId != null">
--
Gitblit v1.9.3