Browse Source

git-svn-id: https://192.168.57.71/svn/jsgkj@729 931142cf-59ea-a443-aa0e-51397b428577

xt_yuanxd 8 years ago
parent
commit
840d7901ea

+ 5 - 2
gkaqv2/trunk/modules/web/pom.xml

@@ -127,9 +127,12 @@
 			<artifactId>gkaq-frame</artifactId>
 		</dependency>
 		<dependency>
-			<groupId>com.xt.js.gkaq.common</groupId>
+			<groupId>com.xt.js.gkaq</groupId>
 			<artifactId>gkaq-common</artifactId>
-			<version>0.0.1-SNAPSHOT</version>
+		</dependency>
+		<dependency>
+			<groupId>com.xt.js.gkaq</groupId>
+			<artifactId>gkaq-dwxx</artifactId>
 		</dependency>
 	</dependencies>
 	<build>

+ 28 - 0
gkaqv2/trunk/modules/web/src/main/java/com/xt/js/gkaq/web/ctl/JyrjcxxCtl.java

@@ -0,0 +1,28 @@
+package com.xt.js.gkaq.web.ctl;
+
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.Model;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import com.xt.js.gkaq.common.BaseCtl;
+import com.xt.js.gkaq.dwxx.model.JyrjcxxModel;
+import com.xt.js.gkaq.dwxx.service.JyrjcxxService;
+import com.xt.js.gkaq.web.vo.UserVo;
+
+@Controller
+@RequestMapping(value = "/jyr")
+public class JyrjcxxCtl extends BaseCtl {
+    @Autowired
+    private JyrjcxxService jyrjcxxService;
+
+    //    @RequiresPermissions("jyr:main")
+    @RequestMapping("")
+    public String main(Model model, UserVo vo) {
+        JyrjcxxModel jyr = new JyrjcxxModel();
+        jyr.setGkjyr("test");
+        jyrjcxxService.add(jyr);
+        return "dwxx/jyr/main";
+    }
+}

+ 12 - 0
gkaqv2/trunk/modules/web/src/main/webapp/WEB-INF/view/dwxx/jyr/main.jsp

@@ -0,0 +1,12 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8"
+    pageEncoding="UTF-8"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>经营人基础信息</title>
+</head>
+<body>
+经营人基础信息
+</body>
+</html>