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

添加feign接口自动生成

parent f4639599
......@@ -162,12 +162,12 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge
continue;
}
//如果开启feign生成模式,加载feign生成模板
if (gentableEntity.getGenFeign() == 0) {
if (gentableEntity.getGenFeign()!=null&&gentableEntity.getGenFeign() == 0) {
if (temp.contains("feign.java.ftl") || temp.contains("pdu.java.ftl")) {
continue;
}
}
if (gentableEntity.getIsShowControl() == 2) {
if (gentableEntity.getIsShowControl()!=null&&gentableEntity.getIsShowControl() == 2) {
if (temp.contains("webForm.java.ftl")) {
continue;
}
......@@ -181,7 +181,7 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge
}
}
if (gentableEntity.getDetailShow() == 0) {
if (gentableEntity.getDetailShow()!=null&&gentableEntity.getDetailShow() == 0) {
if (temp.contains("VueDialogShow.vue.ftl") || temp.contains("VueDrawerShow.vue.ftl")) {
continue;
}
......@@ -193,6 +193,10 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge
if (temp.contains("webVueShow.vue.ftl") || temp.contains("VueDialogShow.vue.ftl")) {
continue;
}
}else{
if (temp.contains("webVueShow.vue.ftl") || temp.contains("VueDrawerShow.vue.ftl")) {
continue;
}
}
if (temp.equals("menu.sql.ftl") || temp.equals("db.sql.ftl") || temp.equals("api.md.ftl")) {
......@@ -520,7 +524,7 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge
}
}
if (gentableEntity.getDetailShow() == 0) {
if (gentableEntity.getDetailShow()!=null&&gentableEntity.getDetailShow() == 0) {
if (temp.contains("VueDialogShow.vue.ftl") || temp.contains("VueDrawerShow.vue.ftl")) {
continue;
}
......@@ -532,6 +536,10 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge
if (temp.contains("webVueShow.vue.ftl") || temp.contains("VueDialogShow.vue.ftl")) {
continue;
}
}else{
if (temp.contains("webVueShow.vue.ftl") || temp.contains("VueDrawerShow.vue.ftl")) {
continue;
}
}
if (temp.equals("menu.sql.ftl")) {
......
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