@RestController @RequestMapping(value="/ams") public class AMSController extends Object implements org.springframework.beans.factory.InitializingBean
| 构造器和说明 |
|---|
AMSController() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
com.alibaba.fastjson.JSONObject |
config(String projectName) |
void |
create(String projectName,
String daoName,
String tableName,
com.alibaba.fastjson.JSONObject createEntity) |
void |
delete(String projectName,
String daoName,
String tableName,
Map<String,Object> amsListConditionMap) |
void |
edit(String projectName,
String daoName,
String tableName,
com.alibaba.fastjson.JSONObject updateEntity) |
com.alibaba.fastjson.JSONObject |
list(String projectName,
String daoName,
String tableName,
Map<String,Object> amsListConditionMap) |
com.alibaba.fastjson.JSONObject |
operationDispatcher(String projectName,
String daoName,
String tableName,
String methodName,
com.alibaba.fastjson.JSONObject requestBody) |
com.alibaba.fastjson.JSONObject |
refreshExtraData(String projectName) |
com.alibaba.fastjson.JSONArray |
remoteSelect(String projectName,
String type,
Map<String,String> amsRemoteSelectMap) |
public void afterPropertiesSet()
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBean@RequestMapping(value="/config")
public com.alibaba.fastjson.JSONObject config(@RequestParam(value="projectName",required=false)
String projectName)
@RequestMapping(value="/refreshExtraData")
public com.alibaba.fastjson.JSONObject refreshExtraData(@RequestParam(value="projectName",required=false)
String projectName)
@RequestMapping(value="/api/{projectName}/{daoName}/{tableName}/list")
public com.alibaba.fastjson.JSONObject list(@PathVariable(value="projectName")
String projectName,
@PathVariable(value="daoName")
String daoName,
@PathVariable(value="tableName")
String tableName,
@RequestParam
Map<String,Object> amsListConditionMap)
throws Exception
Exception@RequestMapping(value="/api/{projectName}/{daoName}/{tableName}/create")
public void create(@PathVariable(value="projectName")
String projectName,
@PathVariable(value="daoName")
String daoName,
@PathVariable(value="tableName")
String tableName,
@RequestBody
com.alibaba.fastjson.JSONObject createEntity)
throws Exception
Exception@RequestMapping(value="/api/{projectName}/{daoName}/{tableName}/edit")
public void edit(@PathVariable(value="projectName")
String projectName,
@PathVariable(value="daoName")
String daoName,
@PathVariable(value="tableName")
String tableName,
@RequestBody
com.alibaba.fastjson.JSONObject updateEntity)
throws Exception
Exception@RequestMapping(value="/api/{projectName}/{daoName}/{tableName}/delete")
public void delete(@PathVariable(value="projectName")
String projectName,
@PathVariable(value="daoName")
String daoName,
@PathVariable(value="tableName")
String tableName,
@RequestParam
Map<String,Object> amsListConditionMap)
throws Exception
Exception@RequestMapping(value="/api/{projectName}/{daoName}/{tableName}/{methodName}")
public com.alibaba.fastjson.JSONObject operationDispatcher(@PathVariable(value="projectName")
String projectName,
@PathVariable(value="daoName")
String daoName,
@PathVariable(value="tableName")
String tableName,
@PathVariable(value="methodName")
String methodName,
@RequestBody(required=false)
com.alibaba.fastjson.JSONObject requestBody)
throws Exception
Exception@RequestMapping(value="/api/{projectName}/remoteSelect/{type}")
public com.alibaba.fastjson.JSONArray remoteSelect(@PathVariable(value="projectName")
String projectName,
@PathVariable(value="type")
String type,
@RequestParam(required=false)
Map<String,String> amsRemoteSelectMap)
throws Exception
ExceptionCopyright © 2024. All rights reserved.