fix 修复Oracle代码生成器空值更新报错问题

master
疯狂的狮子Li 4 years ago
parent 98418272ab
commit b40cc02e2a

@ -8,7 +8,6 @@ import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.utils.StringUtils; import com.ruoyi.common.utils.StringUtils;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.JdbcType; import org.apache.ibatis.type.JdbcType;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
@ -43,7 +42,7 @@ public class GenTableColumn extends BaseEntity {
/** /**
* *
*/ */
@TableField(updateStrategy = FieldStrategy.IGNORED) @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
private String columnComment; private String columnComment;
/** /**
@ -65,13 +64,13 @@ public class GenTableColumn extends BaseEntity {
/** /**
* 1 * 1
*/ */
@TableField(updateStrategy = FieldStrategy.IGNORED) @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
private String isPk; private String isPk;
/** /**
* 1 * 1
*/ */
@TableField(updateStrategy = FieldStrategy.IGNORED) @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
private String isIncrement; private String isIncrement;
/** /**

Loading…
Cancel
Save