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

添加apipost生成接口文档逻辑

parent edd29d50
...@@ -91,7 +91,7 @@ public class GentableColumnEntityExt extends BaseEntityLong { ...@@ -91,7 +91,7 @@ public class GentableColumnEntityExt extends BaseEntityLong {
public static String defaultFormatValue(String javaType, String columnName, String defaultValue) { public static String defaultFormatValue(String javaType, String columnName, String defaultValue) {
if ("Long".equals(javaType)) { if ("Long".equals(javaType)) {
if (ObjectUtils.isEmpty(defaultValue)) { if (ObjectUtils.isEmpty(defaultValue)) {
defaultValue = "0L"; defaultValue = "null";
} }
} else if ("Integer".equals(javaType)) { } else if ("Integer".equals(javaType)) {
if ("year".equals(columnName)) { if ("year".equals(columnName)) {
......
...@@ -98,7 +98,7 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge ...@@ -98,7 +98,7 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge
table.setIsGenExport(0); table.setIsGenExport(0);
table.setGenFeign(0); table.setGenFeign(0);
table.setIsShowControl(2); table.setIsShowControl(2);
table.setDetailShow(1); table.setDetailShow(2);
table.setGenPath("/"); table.setGenPath("/");
table.setTplCategory("crud"); table.setTplCategory("crud");
table.setAppId(appId); table.setAppId(appId);
...@@ -402,7 +402,7 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge ...@@ -402,7 +402,7 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge
table.setGenFeign(0); table.setGenFeign(0);
table.setIsGenExport(0); table.setIsGenExport(0);
table.setIsShowControl(2); table.setIsShowControl(2);
table.setDetailShow(1); table.setDetailShow(2);
table.setGenPath("/"); table.setGenPath("/");
table.setTplCategory("crud"); table.setTplCategory("crud");
table.setCacheServiceType(CacheServiceTypeEnum.NORMAL_SERVICE.getValue()); table.setCacheServiceType(CacheServiceTypeEnum.NORMAL_SERVICE.getValue());
......
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