From f50da3afc73bc458640677c198bb7c99de5b2fe5 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 09 三月 2026 17:33:45 +0800
Subject: [PATCH] fix(mybatis): 修正createUser和updateUser填充值类型空值处理

---
 src/main/resources/mapper/projectManagement/PlanNodeMapper.xml |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/projectManagement/PlanNodeMapper.xml b/src/main/resources/mapper/projectManagement/PlanNodeMapper.xml
new file mode 100644
index 0000000..b6b9ddf
--- /dev/null
+++ b/src/main/resources/mapper/projectManagement/PlanNodeMapper.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.projectManagement.mapper.PlanNodeMapper">
+
+    <resultMap id="BaseResultMap" type="com.ruoyi.projectManagement.pojo.PlanNode">
+            <id property="id" column="id" jdbcType="BIGINT"/>
+            <result property="projectManagementPlanId" column="project_management_plan_id" jdbcType="BIGINT"/>
+            <result property="sort" column="sort" jdbcType="INTEGER"/>
+            <result property="name" column="name" jdbcType="VARCHAR"/>
+            <result property="leaderId" column="leader_id" jdbcType="BIGINT"/>
+            <result property="leaderName" column="leader_name" jdbcType="VARCHAR"/>
+            <result property="estimatedDuration" column="estimated_duration" jdbcType="INTEGER"/>
+            <result property="hourlyRate" column="hourly_rate" jdbcType="VARCHAR"/>
+            <result property="workContent" column="work_content" jdbcType="VARCHAR"/>
+            <result property="isDelete" column="is_delete" jdbcType="INTEGER"/>
+            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
+            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
+            <result property="createUser" column="create_user" jdbcType="VARCHAR"/>
+            <result property="updateUser" column="update_user" jdbcType="VARCHAR"/>
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id,project_management_plan_id,sort,
+        name,leader_id,leader_name,
+        estimated_duration,hourly_rate,work_content,
+        is_delete,create_time,update_time,
+        create_user,update_user
+    </sql>
+</mapper>

--
Gitblit v1.9.3