@Controller public class ApplyManageController extends Object
| Constructor and Description |
|---|
ApplyManageController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplyManageJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getMultiApplyManageJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
企业日常应用展示
固定10个功能,对应数据库id 1-10
|
String |
updateApplyManageJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer status,
Long id)
1.企业日常应用状态修改
|
String |
updateApplyManageSet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.score.home.model.ApplyManage applyManage)
3.企业日常应用修改
页面没有编辑需求,只能postman测
|
@RequestMapping(value="/a/u/applyManage",
method=GET)
public String getMultiApplyManageJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
request - response - model - Exception@RequestMapping(value="/a/u/applyManage",
method=PUT)
public String updateApplyManageJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer status,
Long id)
throws Exception
request - response - model - status - id - Exception@RequestMapping(value="/a/u/applyManageSet",
method=PUT)
public String updateApplyManageSet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@RequestBody
com.ptteng.score.home.model.ApplyManage applyManage)
throws Exception
request - response - model - applyManage - Exception@RequestMapping(value="/a/u/applyManage/{id}",
method=GET)
public String getApplyManageJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
ExceptionCopyright © 2017. All rights reserved.