Commit a0bf845e authored by 赵啸非's avatar 赵啸非

添加apipost生成接口文档逻辑

parent 2bf55236
......@@ -117,7 +117,7 @@ public class GenUtils {
//默认都是否
//column.setIsList(GenConstants.NOREQUIRE);
column.setIsQuery(GenConstants.NOREQUIRE);
// column.setIsQuery(GenConstants.NOREQUIRE);
//拆解枚举类,格式必须为(1.啊啊啊,2.不不不)
String temp = column.getColumnComment().replaceAll("(", "(").replaceAll(")", ")");
......
......@@ -40,7 +40,7 @@
<#if table.tplCategory=="sub">
<el-divider content-position="center">${subTable.functionName}信息</el-divider>
<br/>
<el-row :gutter="10" class="mb8">
<el-row style="margin-left:10px" :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAdd${subClassName}">添加</el-button>
</el-col>
......
......@@ -404,7 +404,7 @@
</#list>
<trim suffixOverrides="," suffix="">
<foreach collection="orderColList" open="" close="" index="index" item="item" separator=",">
<#noparse> ${item.colName} ${item.sortKind}</#noparse>
<#noparse> a.${item.colName} ${item.sortKind}</#noparse>
</foreach>
</trim>
</if>
......
......@@ -52,11 +52,7 @@
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
......@@ -64,12 +60,6 @@
<version>3.4.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment