Sfoglia il codice sorgente

fixed 代码生成

fushengqian 1 anno fa
parent
commit
a7ea943fa8

+ 1 - 1
fuint-application/src/main/resources/vm/java/BackendController.java.vm

@@ -96,7 +96,7 @@ public class Backend${tableClass}Controller extends BaseController {
         }
 
         Map<String, Object> result = new HashMap<>();
-        result.put("dataList", paginationResponse);
+        result.put("paginationResponse", paginationResponse);
 
         return getSuccessResult(result);
     }

+ 1 - 1
fuint-application/src/main/resources/vm/java/model.java.vm

@@ -18,7 +18,7 @@ import lombok.Setter;
  */
 @Getter
 @Setter
-@TableName("${tablePrefix}${tableName}")
+@TableName("${tablePrefix}_${tableName}")
 @ApiModel(value = "${tableName}表对象", description = "${tableName}表对象")
 public class ${modelName} implements Serializable {