From 98d886ce316c0dd0623c76b3e157b186ebfeb7a5 Mon Sep 17 00:00:00 2001
From: kongdeqiang <kongdeqiang@960204@163.com>
Date: 星期一, 01 十二月 2025 22:17:16 +0800
Subject: [PATCH] fix:sql提交
---
src/main/resources/mybatis/mapper/WorkLoggingMapper.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/mybatis/mapper/WorkLoggingMapper.xml b/src/main/resources/mybatis/mapper/WorkLoggingMapper.xml
index cbfcacd..f6d1a27 100644
--- a/src/main/resources/mybatis/mapper/WorkLoggingMapper.xml
+++ b/src/main/resources/mybatis/mapper/WorkLoggingMapper.xml
@@ -5,7 +5,7 @@
<id column="ID" property="id" jdbcType="CHAR" />
<result column="USERNAME" property="username" jdbcType="CHAR" />
<result column="WORK_DATE" property="workDate" jdbcType="TIMESTAMP" />
- <result column="CONTENT" property="content" jdbcType="CHAR" />
+ <result column="CONTENT_TEXT" property="contentText" jdbcType="CHAR" />
</resultMap>
<sql id="tableColumnList">
@@ -69,14 +69,14 @@
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >ID,</if>
<if test="username != null" >USERNAME,</if>
- <if test="workDate != null" >WORK_DATE</if>
- <if test="content != null" >CONTENT</if>
+ <if test="workDate != null" >WORK_DATE,</if>
+ <if test="contentText != null" >CONTENT_TEXT</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="id != null" >#{id},</if>
<if test="username != null" >#{username},</if>
<if test="workDate != null" >#{workDate},</if>
- <if test="content != null" >#{content}</if>
+ <if test="contentText != null" >#{contentText}</if>
</trim>
</insert>
--
Gitblit v1.9.1