@Controller public class ApplyManageController extends Object
| 构造器和说明 |
|---|
ApplyManageController() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.admin.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.admin.model.ApplyManage applyManage)
throws Exception
request - response - model - applyManage - ExceptionCopyright © 2017. All rights reserved.