@Service(value="tableStructService") @Transactional public class TableStructServiceImpl extends Object implements TableStructService
| 限定符和类型 | 字段和说明 |
|---|---|
protected ProjectInfoDao |
projectInfoDao |
protected ProjectTeamDao |
projectTeamDao |
protected TableStructDao |
tableStructDao |
| 构造器和说明 |
|---|
TableStructServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteTableStruct(String tableId) |
TableStruct |
forkTable(com.centit.framework.security.model.CentitUserDetails userDetails,
String tableId,
String projectId) |
TableStruct |
getTableStruct(String tableId) |
List<TableStruct> |
listProjectTables(String projectId,
Map<String,Object> filterMap,
com.centit.support.database.utils.PageDesc pageDesc) |
String |
makeCreateSql(String tableId,
com.centit.support.database.utils.DBType dbType) |
void |
saveTableStruct(TableStruct tableStruct) |
com.alibaba.fastjson2.JSONArray |
searchTables(String keyWord,
String industryCategory,
com.centit.support.database.utils.PageDesc pageDesc) |
com.alibaba.fastjson2.JSONArray |
statTables(String keyWord) |
void |
updateTableStruct(TableStruct tableStruct) |
TableStruct |
updateViewSql(TableStruct tableStruct)
解析试图的sql语句,并从对应的表中复制中文名称 lableName 和数据类型
|
@Autowired protected TableStructDao tableStructDao
@Autowired protected ProjectInfoDao projectInfoDao
@Autowired protected ProjectTeamDao projectTeamDao
public void saveTableStruct(TableStruct tableStruct)
saveTableStruct 在接口中 TableStructServicepublic TableStruct updateViewSql(TableStruct tableStruct)
updateViewSql 在接口中 TableStructServicetableStruct - 试图对象public void updateTableStruct(TableStruct tableStruct)
updateTableStruct 在接口中 TableStructServicepublic void deleteTableStruct(String tableId)
deleteTableStruct 在接口中 TableStructServicepublic TableStruct getTableStruct(String tableId)
getTableStruct 在接口中 TableStructServicepublic TableStruct forkTable(com.centit.framework.security.model.CentitUserDetails userDetails, String tableId, String projectId)
forkTable 在接口中 TableStructServicepublic List<TableStruct> listProjectTables(String projectId, Map<String,Object> filterMap, com.centit.support.database.utils.PageDesc pageDesc)
listProjectTables 在接口中 TableStructServicepublic com.alibaba.fastjson2.JSONArray statTables(String keyWord)
statTables 在接口中 TableStructServicepublic com.alibaba.fastjson2.JSONArray searchTables(String keyWord, String industryCategory, com.centit.support.database.utils.PageDesc pageDesc)
searchTables 在接口中 TableStructServicepublic String makeCreateSql(String tableId, com.centit.support.database.utils.DBType dbType)
makeCreateSql 在接口中 TableStructServiceCopyright © 2023 Centit Information Technical, co. Inc.. All rights reserved.