fix(mybatis): 目前会存在自动增加双引号"",无限被转义,去除jdbcType = JdbcType.VARCHAR后正常

- 删除 @TableField 注解中的 jdbcType 属性
- 移除 BaseDO 中 creator 和 updater 字段的 jdbcType 配置
pull/218/head
wuKong 2025-11-18 10:42:19 +08:00
parent d64f4e9343
commit c49436950c
1 changed files with 2 additions and 2 deletions

View File

@ -38,14 +38,14 @@ public abstract class BaseDO implements Serializable, TransPojo {
* *
* 使 String * 使 String
*/ */
@TableField(fill = FieldFill.INSERT, jdbcType = JdbcType.VARCHAR) @TableField(fill = FieldFill.INSERT)
private String creator; private String creator;
/** /**
* 使 SysUser id * 使 SysUser id
* *
* 使 String * 使 String
*/ */
@TableField(fill = FieldFill.INSERT_UPDATE, jdbcType = JdbcType.VARCHAR) @TableField(fill = FieldFill.INSERT_UPDATE)
private String updater; private String updater;
/** /**
* *