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

添加apipost生成接口文档逻辑

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