@Controller public class UserCompanyRelationController extends Object
| 构造器和说明 |
|---|
UserCompanyRelationController() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
addUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.UserCompanyRelation userCompanyRelation) |
String |
deleteUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getMultiUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long[] ids) |
String |
getUserCompanyRelation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getuserCompanyRelationList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model) |
String |
updateUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String barcode,
String license,
String creditCode,
Long uid,
Long cid) |
String |
updateUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.UserCompanyRelation userCompanyRelation) |
@RequestMapping(value="/c/userCompanyRelation",
method=GET)
public String getuserCompanyRelationList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
ServiceExceptionServiceDaoExceptionException@RequestMapping(value="/c/userCompanyRelation/{id}",
method=GET)
public String getUserCompanyRelation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/userCompanyRelation/{id}",
method=GET)
public String getUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/userCompanyRelation/{id}",
method=PUT)
public String updateUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.UserCompanyRelation userCompanyRelation)
throws Exception
Exception@RequestMapping(value="/a/u/cpy/regist",
method=PUT)
public String updateUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String barcode,
String license,
String creditCode,
Long uid,
Long cid)
throws Exception
Exception@RequestMapping(value="/a/userCompanyRelation",
method=POST)
public String addUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.UserCompanyRelation userCompanyRelation)
throws Exception
Exception@RequestMapping(value="/a/userCompanyRelation/{id}",
method=DELETE)
public String deleteUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
@PathVariable
Long id)
throws Exception
Exception@RequestMapping(value="/a/multi/userCompanyRelation",
method=GET)
public String getMultiUserCompanyRelationJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long[] ids)
throws Exception
ExceptionCopyright © 2017. All rights reserved.