From 2a2edd2c92bbef5765b1bf96bc7a42986a26efc4 Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期三, 23 四月 2025 18:15:30 +0800
Subject: [PATCH] 【UPDATE】1.增加标准工序导入功能 2.修改日历功能字段类型

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsWorkCalendarMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 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 e491501..dc81ab9 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
@@ -3,7 +3,7 @@
 PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.aps.core.mapper.ApsWorkCalendarMapper">
-    
+
     <resultMap type="ApsWorkCalendar" id="ApsWorkCalendarResult">
         <result property="id"    column="id"    />
         <result property="description"    column="description"    />
@@ -66,7 +66,7 @@
             <if test="type != null">#{type},</if>
             <if test="effectiveDate != null">#{effectiveDate},</if>
             <if test="expiringDate != null">#{expiringDate},</if>
-            <if test="content != null">#{content},</if>
+            <if test="content != null">#{content, typeHandler=com.aps.core.typeHandler.JsonTypeHandler, jdbcType=OTHER},</if>
             <if test="applicableFactory != null">#{applicableFactory},</if>
             <if test="applicableWorkshop != null">#{applicableWorkshop},</if>
             <if test="applicableProcess != null">#{applicableProcess},</if>
@@ -84,7 +84,7 @@
             <if test="type != null">type = #{type},</if>
             <if test="effectiveDate != null">effective_date = #{effectiveDate},</if>
             <if test="expiringDate != null">expiring_date = #{expiringDate},</if>
-            <if test="content != null">content = #{content},</if>
+            <if test="content != null">content = #{content , typeHandler=com.aps.core.typeHandler.JsonTypeHandler, jdbcType=OTHER},</if>
             <if test="applicableFactory != null">applicable_factory = #{applicableFactory},</if>
             <if test="applicableWorkshop != null">applicable_workshop = #{applicableWorkshop},</if>
             <if test="applicableProcess != null">applicable_process = #{applicableProcess},</if>

--
Gitblit v1.9.3