From 578bfcb3f58c5458d2c60fe37c3e56ebcda98e18 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 05 三月 2025 15:15:03 +0800 Subject: [PATCH] 标准功能搬迁 --- basic-server/src/main/resources/mapper/ProductMapper.xml | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/basic-server/src/main/resources/mapper/ProductMapper.xml b/basic-server/src/main/resources/mapper/ProductMapper.xml index c1b0953..78a1353 100644 --- a/basic-server/src/main/resources/mapper/ProductMapper.xml +++ b/basic-server/src/main/resources/mapper/ProductMapper.xml @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.ruoyi.basic.mapper.ProductMapper"> - <resultMap id="BaseResultMap" type="com.ruoyi.inspect.pojo.Product"> + <resultMap id="BaseResultMap" type="com.ruoyi.basic.pojo.Product"> <id property="id" column="id" jdbcType="INTEGER"/> <result property="name" column="name" jdbcType="VARCHAR"/> <result property="nameEn" column="name_en" jdbcType="VARCHAR"/> @@ -14,13 +14,7 @@ <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/> <result property="objectId" column="object_id" jdbcType="INTEGER"/> </resultMap> - - <sql id="Base_Column_List"> - id,name,name_en, - create_user,update_user,create_time, - update_time,object_id - </sql> - <select id="selectProductListByObjectId" resultType="com.ruoyi.inspect.pojo.Product"> + <select id="selectProductListByObjectId" resultType="com.ruoyi.basic.pojo.Product"> select * from ( select p.id, p.name, -- Gitblit v1.9.3