|
@@ -9,6 +9,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.ui.ModelMap;
|
|
import org.springframework.ui.ModelMap;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
@@ -25,7 +26,7 @@ public class ManageController {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private UpmsSystemService upmsSystemService;
|
|
private UpmsSystemService upmsSystemService;
|
|
|
|
|
|
|
|
- @RequestMapping(value = {"", "/index"})
|
|
|
|
|
|
|
+ @RequestMapping(value = "/index", method = RequestMethod.GET)
|
|
|
public String index(ModelMap modelMap) {
|
|
public String index(ModelMap modelMap) {
|
|
|
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
|
|
UpmsSystemExample upmsSystemExample = new UpmsSystemExample();
|
|
|
upmsSystemExample.createCriteria()
|
|
upmsSystemExample.createCriteria()
|