From 5952b1c90e9d30b6111ecadbf8bc6f3cf8886abe Mon Sep 17 00:00:00 2001
From: G405G <guilongji@outlook.com>
Date: 星期五, 18 十一月 2022 14:01:45 +0800
Subject: [PATCH] !253 过滤器链使用IoUtil.read方法导致request流关闭 * fix-过滤器链使用IoUtil.read方法导致request流关闭

---
 ruoyi-generator/src/main/java/com/ruoyi/generator/domain/GenTableColumn.java |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/ruoyi-generator/src/main/java/com/ruoyi/generator/domain/GenTableColumn.java b/ruoyi-generator/src/main/java/com/ruoyi/generator/domain/GenTableColumn.java
index cba93dd..280204b 100644
--- a/ruoyi-generator/src/main/java/com/ruoyi/generator/domain/GenTableColumn.java
+++ b/ruoyi-generator/src/main/java/com/ruoyi/generator/domain/GenTableColumn.java
@@ -8,7 +8,6 @@
 import com.ruoyi.common.utils.StringUtils;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
-import lombok.experimental.Accessors;
 import org.apache.ibatis.type.JdbcType;
 
 import javax.validation.constraints.NotBlank;
@@ -43,7 +42,7 @@
     /**
      * 鍒楁弿杩�
      */
-    @TableField(updateStrategy = FieldStrategy.IGNORED)
+    @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
     private String columnComment;
 
     /**
@@ -65,43 +64,43 @@
     /**
      * 鏄惁涓婚敭锛�1鏄級
      */
-    @TableField(updateStrategy = FieldStrategy.IGNORED)
+    @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
     private String isPk;
 
     /**
      * 鏄惁鑷锛�1鏄級
      */
-    @TableField(updateStrategy = FieldStrategy.IGNORED)
+    @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
     private String isIncrement;
 
     /**
      * 鏄惁蹇呭~锛�1鏄級
      */
-    @TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType= JdbcType.VARCHAR)
+    @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
     private String isRequired;
 
     /**
      * 鏄惁涓烘彃鍏ュ瓧娈碉紙1鏄級
      */
-    @TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType= JdbcType.VARCHAR)
+    @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
     private String isInsert;
 
     /**
      * 鏄惁缂栬緫瀛楁锛�1鏄級
      */
-    @TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType= JdbcType.VARCHAR)
+    @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
     private String isEdit;
 
     /**
      * 鏄惁鍒楄〃瀛楁锛�1鏄級
      */
-    @TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType= JdbcType.VARCHAR)
+    @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
     private String isList;
 
     /**
      * 鏄惁鏌ヨ瀛楁锛�1鏄級
      */
-    @TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType= JdbcType.VARCHAR)
+    @TableField(updateStrategy = FieldStrategy.IGNORED, jdbcType = JdbcType.VARCHAR)
     private String isQuery;
 
     /**
@@ -125,7 +124,7 @@
     private Integer sort;
 
     public String getCapJavaField() {
-        return StringUtils.uncapitalize(javaField);
+        return StringUtils.capitalize(javaField);
     }
 
     public boolean isPk() {

--
Gitblit v1.9.3