From dadf503b15f3423980ad2bc17d23ea1a444aca10 Mon Sep 17 00:00:00 2001 From: huangjiayang <5265313@qq.com> Date: 星期三, 14 五月 2025 17:48:00 +0800 Subject: [PATCH] 【UPDATE】修改mapper适配mybatis-plus --- aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml index a6592c4..067dab1 100644 --- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml +++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkEventMapper.xml @@ -4,7 +4,7 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.aps.core.mapper.ApsWorkEventMapper"> - <resultMap type="ApsWorkEvent" id="ApsWorkEventResult"> + <resultMap type="com.aps.core.domain.ApsWorkEvent" id="ApsWorkEventResult"> <result property="id" column="id" /> <result property="description" column="description" /> <result property="duration" column="duration" /> @@ -26,7 +26,7 @@ select id, description, duration, start_date, end_date, start_time, end_time, applicable_factory, applicable_workshop, applicable_process, applicable_calendar, create_by, create_time, update_by, update_time from aps_work_event </sql> - <select id="selectApsWorkEventList" parameterType="ApsWorkEvent" resultMap="ApsWorkEventResult"> + <select id="selectApsWorkEventList" parameterType="com.aps.core.domain.ApsWorkEvent" resultMap="ApsWorkEventResult"> <include refid="selectApsWorkEventVo"/> <where> <if test="description != null and description != ''"> and description like '%' || #{description} || '%'</if> @@ -47,7 +47,7 @@ where id = #{id} </select> - <insert id="insertApsWorkEvent" parameterType="ApsWorkEvent"> + <insert id="insertApsWorkEvent" parameterType="com.aps.core.domain.ApsWorkEvent"> insert into aps_work_event <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null">id,</if> @@ -85,7 +85,7 @@ </trim> </insert> - <update id="updateApsWorkEvent" parameterType="ApsWorkEvent"> + <update id="updateApsWorkEvent" parameterType="com.aps.core.domain.ApsWorkEvent"> update aps_work_event <trim prefix="SET" suffixOverrides=","> <if test="description != null and description != ''">description = #{description},</if> -- Gitblit v1.9.3