Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
2bd0f7d8
Commit
2bd0f7d8
authored
Jul 09, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量接口查询
parent
9e3bad5b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
WorkspaceService.java
...core/src/main/java/com/byit/service/WorkspaceService.java
+2
-0
WorkspaceServiceImpl.java
...main/java/com/byit/service/impl/WorkspaceServiceImpl.java
+5
-0
TransferResultEnum.java
...core/src/main/java/com/byit/enums/TransferResultEnum.java
+2
-1
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/WorkspaceService.java
View file @
2bd0f7d8
...
@@ -15,4 +15,6 @@ public interface WorkspaceService {
...
@@ -15,4 +15,6 @@ public interface WorkspaceService {
List
<
Workspace
>
findAll
();
List
<
Workspace
>
findAll
();
Workspace
findOneById
(
Integer
id
);
Workspace
findOneById
(
Integer
id
);
Workspace
getByName
(
String
workspaceName
);
}
}
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/impl/WorkspaceServiceImpl.java
View file @
2bd0f7d8
...
@@ -27,4 +27,9 @@ public class WorkspaceServiceImpl implements WorkspaceService {
...
@@ -27,4 +27,9 @@ public class WorkspaceServiceImpl implements WorkspaceService {
public
Workspace
findOneById
(
Integer
id
)
{
public
Workspace
findOneById
(
Integer
id
)
{
return
workspaceMapper
.
getById
(
id
);
return
workspaceMapper
.
getById
(
id
);
}
}
@Override
public
Workspace
getByName
(
String
workspaceName
)
{
return
workspaceMapper
.
getByName
(
workspaceName
);
}
}
}
byit-myth-core/myth-dto-core/src/main/java/com/byit/enums/TransferResultEnum.java
View file @
2bd0f7d8
...
@@ -6,7 +6,8 @@ package com.byit.enums;
...
@@ -6,7 +6,8 @@ package com.byit.enums;
*/
*/
public
enum
TransferResultEnum
implements
IEnum
{
public
enum
TransferResultEnum
implements
IEnum
{
SUCCESS
(
"000000"
,
"调用成功"
),
SUCCESS
(
"000000"
,
"调用成功"
),
ERROR
(
"500000"
,
"发生错误"
)
ERROR
(
"500000"
,
"发生错误"
),
PARAM_ERROR
(
"600000"
,
"参数异常"
)
;
;
private
String
code
;
private
String
code
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment