|
|
@@ -244,6 +244,12 @@ namespace Services
|
|
|
public void makeJavaService(ProjectService baseInfo, DatabaseTable table, TokenModel loginUser)
|
|
|
{
|
|
|
var apiInfos = _ApiInfoService.GetList(m => m.serviceId == baseInfo.id && m.linkTableId == table.id && m.apiKind == 1);
|
|
|
+ foreach(ApiInfo apiInfo in apiInfos)
|
|
|
+ {
|
|
|
+ var linkTable = GetFirst(m => m.id == apiInfo.linkTableId) ?? new DatabaseTable();
|
|
|
+ apiInfo.linkTableTitle = linkTable.tableTitle;
|
|
|
+ apiInfo.linkTableName = linkTable.tableName;
|
|
|
+ }
|
|
|
|
|
|
Dictionary<string, object> pushData = new Dictionary<string, object>();
|
|
|
pushData.Add("since", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
|
|
|
@@ -262,6 +268,12 @@ namespace Services
|
|
|
public void makeJavaServiceImpl(ProjectService baseInfo, DatabaseTable table, TokenModel loginUser)
|
|
|
{
|
|
|
var apiInfos = _ApiInfoService.GetList(m => m.serviceId == baseInfo.id && m.linkTableId == table.id && m.apiKind == 1);
|
|
|
+ foreach(ApiInfo apiInfo in apiInfos)
|
|
|
+ {
|
|
|
+ var linkTable = GetFirst(m => m.id == apiInfo.linkTableId) ?? new DatabaseTable();
|
|
|
+ apiInfo.linkTableTitle = linkTable.tableTitle;
|
|
|
+ apiInfo.linkTableName = linkTable.tableName;
|
|
|
+ }
|
|
|
|
|
|
Dictionary<string, object> pushData = new Dictionary<string, object>();
|
|
|
pushData.Add("since", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
|