From 4bb883b400073aeaeb234900fd6b0c8a0b9889a7 Mon Sep 17 00:00:00 2001 From: zhanghl <253316343@qq.com> Date: 星期四, 15 五月 2025 14:59:34 +0800 Subject: [PATCH] system: 优化mapper xml --- aps-modules/aps-system/src/main/resources/mapper/system/SysDictTypeMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aps-modules/aps-system/src/main/resources/mapper/system/SysDictTypeMapper.xml b/aps-modules/aps-system/src/main/resources/mapper/system/SysDictTypeMapper.xml index be69fa6..c88c11c 100644 --- a/aps-modules/aps-system/src/main/resources/mapper/system/SysDictTypeMapper.xml +++ b/aps-modules/aps-system/src/main/resources/mapper/system/SysDictTypeMapper.xml @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.aps.system.mapper.SysDictTypeMapper"> - <resultMap type="SysDictType" id="SysDictTypeResult"> + <resultMap type="com.aps.system.api.domain.SysDictType" id="SysDictTypeResult"> <id property="dictId" column="dict_id" /> <result property="dictName" column="dict_name" /> <result property="dictType" column="dict_type" /> @@ -20,7 +20,7 @@ from sys_dict_type </sql> - <select id="selectDictTypeList" parameterType="SysDictType" resultMap="SysDictTypeResult"> + <select id="selectDictTypeList" parameterType="com.aps.system.api.domain.SysDictType" resultMap="SysDictTypeResult"> <include refid="selectDictTypeVo"/> <where> <if test="dictName != null and dictName != ''"> @@ -71,7 +71,7 @@ </foreach> </delete> - <update id="updateDictType" parameterType="SysDictType"> + <update id="updateDictType" parameterType="com.aps.system.api.domain.SysDictType"> update sys_dict_type <set> <if test="dictName != null and dictName != ''">dict_name = #{dictName},</if> @@ -84,7 +84,7 @@ where dict_id = #{dictId} </update> - <insert id="insertDictType" parameterType="SysDictType"> + <insert id="insertDictType" parameterType="com.aps.system.api.domain.SysDictType"> insert into sys_dict_type( <if test="dictName != null and dictName != ''">dict_name,</if> <if test="dictType != null and dictType != ''">dict_type,</if> -- Gitblit v1.9.3