From 2a64b537e8e3bce9ce030585a3da17d48379c0ad Mon Sep 17 00:00:00 2001
From: sfd <sun.sunshine@163.com>
Date: 星期一, 26 五月 2025 15:04:45 +0800
Subject: [PATCH] 修改json类型转换错误
---
aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkCalendarMapper.xml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkCalendarMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkCalendarMapper.xml
index b6effe1..3a80553 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkCalendarMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkCalendarMapper.xml
@@ -4,7 +4,7 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.aps.core.mapper.ApsWorkCalendarMapper">
- <resultMap type="ApsWorkCalendar" id="ApsWorkCalendarResult">
+ <resultMap type="com.aps.core.domain.ApsWorkCalendar" id="ApsWorkCalendarResult">
<result property="id" column="id" />
<result property="description" column="description" />
<result property="type" column="type" />
@@ -27,7 +27,7 @@
select id, description, type, effective_date, expiring_date, content, applicable_factory, applicable_workshop, applicable_process, create_by, create_time, update_by, update_time, holidays, applicable, applicable_translate from aps_work_calendar
</sql>
- <select id="selectApsWorkCalendarList" parameterType="ApsWorkCalendar" resultMap="ApsWorkCalendarResult">
+ <select id="selectApsWorkCalendarList" parameterType="com.aps.core.domain.ApsWorkCalendar" resultMap="ApsWorkCalendarResult">
<include refid="selectApsWorkCalendarVo"/>
<where>
<if test="description != null and description != ''"> and description like '%' || #{description} || '%'</if>
@@ -51,7 +51,7 @@
where id = #{id}
</select>
- <insert id="insertApsWorkCalendar" parameterType="ApsWorkCalendar">
+ <insert id="insertApsWorkCalendar" parameterType="com.aps.core.domain.ApsWorkCalendar">
insert into aps_work_calendar
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">id,</if>
@@ -91,7 +91,7 @@
</trim>
</insert>
- <update id="updateApsWorkCalendar" parameterType="ApsWorkCalendar">
+ <update id="updateApsWorkCalendar" parameterType="com.aps.core.domain.ApsWorkCalendar">
update aps_work_calendar
<trim prefix="SET" suffixOverrides=",">
<if test="description != null">description = #{description},</if>
@@ -117,14 +117,14 @@
delete from aps_work_calendar where id = #{id}
</delete>
- <delete id="deleteApsWorkCalendarByIds" parameterType="ApsWorkCalendar">
+ <delete id="deleteApsWorkCalendarByIds" parameterType="com.aps.core.domain.ApsWorkCalendar">
delete from aps_work_calendar where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
- <delete id="deleteApsWorkCalendar" parameterType="ApsWorkCalendar">
+ <delete id="deleteApsWorkCalendar" parameterType="com.aps.core.domain.ApsWorkCalendar">
delete from aps_work_calendar where effective_date=#{effectiveDate} and expiring_date=#{expiringDate} and applicable_factory=#{applicableFactory} and applicable_workshop=#{applicableWorkshop} and applicable_process=#{applicableProcess}
</delete>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3