From 9812f31d6402a268fa6fd35e8c3a2a59582b720d Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期三, 22 二月 2023 15:57:58 +0800 Subject: [PATCH] 增加service --- 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