@Controller public class CompanyController extends Object
| 构造器和说明 |
|---|
CompanyController() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
addCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Company company) |
String |
addOwnCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Company company) |
String |
companyEnterJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
String barcode,
String license,
String creditCode) |
String |
deleteCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long id) |
String |
getCompany(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model) |
String |
getcompanyList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model) |
String |
getMultiCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long[] ids) |
String |
getUserCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model) |
String |
isCompany(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model) |
String |
updateCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Company company) |
@RequestMapping(value="/c/company",
method=GET)
public String getcompanyList(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionException@RequestMapping(value="/a/u/company/ptteng",
method=GET)
public String getCompany(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
Exception@RequestMapping(value="/a/company/{id}",
method=PUT)
public String updateCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Company company)
throws Exception
Exception@RequestMapping(value="/a/company",
method=POST)
public String addCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Company company)
throws Exception
Exception@RequestMapping(value="/a/company/{id}",
method=DELETE)
public String deleteCompanyJson(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/company",
method=GET)
public String getMultiCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Long[] ids)
throws Exception
Exception@RequestMapping(value="/a/u/have/company",
method=GET)
public String isCompany(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
Exception@RequestMapping(value=" /a/u/company/detail",
method=GET)
public String getUserCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model)
throws Exception
Exception@RequestMapping(value="/a/u/company/change",
method=POST)
public String addOwnCompanyJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
com.ptteng.graship.home.model.Company company)
throws Exception
ExceptionCopyright © 2017. All rights reserved.