@Controller @RequestMapping(value="/manager/coretables") public class CoreTablesController extends BaseManagerController
限定符和类型 | 字段和说明 |
---|---|
(专用程序包) CoreTablesMapper |
coreTablesMapper |
java.lang.String |
FIREFOX |
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreTablesController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
add(CoreTables table) |
RetVo |
drag(CoreTables coreTables) |
void |
exportAllModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
exportModel(java.lang.String tbids,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
RetVo |
importmodel(java.lang.String parent_tbid,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.lang.String |
index(javax.servlet.http.HttpServletRequest request) |
RetVo |
modify(CoreTables table) |
RetVo |
modifyToDB(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
query(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
queryExt(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
queryTableDetail(java.util.Map<java.lang.String,java.lang.String> params)
查询表模型信息:是否创建、表中是否存在数据等
|
RetVo |
queryTableNameExists(java.util.Map<java.lang.String,java.lang.String> params)
查询表名是否存在
|
RetVo |
remove(java.util.Map<java.lang.String,java.lang.Object> params) |
RetVo |
syncTableModle() |
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@Autowired CoreTablesMapper coreTablesMapper
public final java.lang.String FIREFOX
@RequestMapping(value="/", method=GET) public java.lang.String index(javax.servlet.http.HttpServletRequest request)
@ResponseBody @RequestMapping(value="modify", method=POST) public RetVo modify(@RequestBody CoreTables table) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="add", method=PUT) public RetVo add(@RequestBody CoreTables table) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="remove", method=DELETE) public RetVo remove(@RequestBody java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="query", method=GET) public RetVo query(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="queryext", method=POST) public RetVo queryExt(@RequestParam java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="modifytodb", method=POST) public RetVo modifyToDB(@RequestBody java.util.Map<java.lang.String,java.lang.Object> params) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="exportmodel", method=POST) public void exportModel(java.lang.String tbids, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="exportallmodel", method=GET) public void exportAllModel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="syncmodle", method=GET) public RetVo syncTableModle()
@ResponseBody @RequestMapping(value="importmodel", method=POST) public RetVo importmodel(@RequestParam java.lang.String parent_tbid, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="querytablenameexists", method=POST) public RetVo queryTableNameExists(@RequestBody java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.Exception
params
- 参数java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="querytabledetail", method=GET) public RetVo queryTableDetail(@RequestParam java.util.Map<java.lang.String,java.lang.String> params) throws java.lang.Exception
params
- 参数java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="/drag", method=POST) public RetVo drag(@RequestBody CoreTables coreTables) throws java.lang.Exception
java.lang.Exception