Pre Merge pull request !439 from yanghaojie001/dev

This commit is contained in:
yanghaojie001 2022-04-08 07:44:06 +00:00 committed by Gitee
commit 5406d057d3
2 changed files with 7 additions and 1 deletions

View File

@ -23,7 +23,8 @@ public class GenUtils
genTable.setClassName(convertClassName(genTable.getTableName()));
genTable.setPackageName(GenConfig.getPackageName());
genTable.setModuleName(getModuleName(GenConfig.getPackageName()));
genTable.setBusinessName(getBusinessName(genTable.getTableName()));
// genTable.setBusinessName(getBusinessName(genTable.getTableName()));
genTable.setBusinessName(StringUtils.uncapitalize(genTable.getClassName()));
genTable.setFunctionName(replaceText(genTable.getTableComment()));
genTable.setFunctionAuthor(GenConfig.getAuthor());
genTable.setCreateBy(operName);

View File

@ -115,6 +115,11 @@
<el-table v-loading="loading" :data="${businessName}List" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" type="index" width="50" align="center">
<template slot-scope="scope">
<span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
</template>
</el-table-column>
#foreach($column in $columns)
#set($javaField=$column.javaField)
#set($parentheseIndex=$column.columnComment.indexOf(""))