diff --git a/sparchetype/src/main/java/com/songpeng/sparchetype/basedata/controller/SpTableManagerItemController.java b/sparchetype/src/main/java/com/songpeng/sparchetype/basedata/controller/SpTableManagerItemController.java index 2cd149c..3380a38 100644 --- a/sparchetype/src/main/java/com/songpeng/sparchetype/basedata/controller/SpTableManagerItemController.java +++ b/sparchetype/src/main/java/com/songpeng/sparchetype/basedata/controller/SpTableManagerItemController.java @@ -10,10 +10,8 @@ import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.*; import java.util.List; @@ -34,6 +32,19 @@ public class SpTableManagerItemController extends BaseController { @Autowired private ISpTableManagerItemService iSpTableManagerItemService; + /** + * 主数据维护界面 + * + * @param model 模型 + * @return 主数据维护界面 + */ + @ApiOperation("主数据管理平台UI") + @ApiImplicitParams({@ApiImplicitParam(name = "model", value = "模型", defaultValue = "模型")}) + @GetMapping("/list-ui") + public String listUI(Model model) { + return "basedata/manageritem/list"; + } + /** * 根据表名称查询该表的全部字段数据库明细 * diff --git a/sparchetype/src/main/resources/templates/basedata/manageritem/addOrUpdate.ftl b/sparchetype/src/main/resources/templates/basedata/manageritem/addOrUpdate.ftl new file mode 100644 index 0000000..425e77b --- /dev/null +++ b/sparchetype/src/main/resources/templates/basedata/manageritem/addOrUpdate.ftl @@ -0,0 +1,346 @@ + + + + + 添加字段 + + + + <#include "${request.contextPath}/common/common.ftl"> + + +
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ checked> + checked> + checked> +
+
+
+
+
+
+ +
+

+
+
+
+
+ + +
+
+
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ +
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/sparchetype/src/main/resources/templates/basedata/manageritem/list.ftl b/sparchetype/src/main/resources/templates/basedata/manageritem/list.ftl new file mode 100644 index 0000000..1a19677 --- /dev/null +++ b/sparchetype/src/main/resources/templates/basedata/manageritem/list.ftl @@ -0,0 +1,217 @@ + + + + + 基础数据维护界面 + + + + <#include "${request.contextPath}/common/common.ftl"> + + +
+
+
+
+
+
+
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+ +
+
+
+
+ +
+ + + + + + + + + + + \ No newline at end of file