Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dm_project
Project
Project
Details
Activity
Releases
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
姚本章
dm_project
Commits
4e66f97f
Commit
4e66f97f
authored
Feb 18, 2021
by
zhangc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
f1259dc1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
ApiInterfaceDetailReq.java
.../java/com/jz/dm/models/req/api/ApiInterfaceDetailReq.java
+2
-2
ApiInterfaceMapper.xml
...igateway/src/main/resources/mapper/ApiInterfaceMapper.xml
+0
-3
No files found.
jz-dm-apigateway/src/main/java/com/jz/dm/models/req/api/ApiInterfaceDetailReq.java
View file @
4e66f97f
...
@@ -20,8 +20,8 @@ import java.io.Serializable;
...
@@ -20,8 +20,8 @@ import java.io.Serializable;
@ApiModel
(
"API详情信息"
)
@ApiModel
(
"API详情信息"
)
public
class
ApiInterfaceDetailReq
implements
Serializable
{
public
class
ApiInterfaceDetailReq
implements
Serializable
{
@ApiModelProperty
(
value
=
"id"
,
required
=
false
)
/*
@ApiModelProperty(value = "id",required = false)
private
Long
id
;
private Long id;
*/
@ApiModelProperty
(
value
=
"apiKey"
,
required
=
true
)
@ApiModelProperty
(
value
=
"apiKey"
,
required
=
true
)
@NotNull
(
message
=
"apiKey不能为空"
)
@NotNull
(
message
=
"apiKey不能为空"
)
...
...
jz-dm-apigateway/src/main/resources/mapper/ApiInterfaceMapper.xml
View file @
4e66f97f
...
@@ -37,9 +37,6 @@
...
@@ -37,9 +37,6 @@
<if
test=
"apiKey != null and apiKey !=''"
>
<if
test=
"apiKey != null and apiKey !=''"
>
ai.api_key =#{apiKey}
ai.api_key =#{apiKey}
</if>
</if>
<if
test=
"id != null and id !=''"
>
AND ai.id =#{id}
</if>
</select>
</select>
<select
id=
"getTestData"
resultType=
"com.jz.dm.models.domian.ApiInterfaceCustom"
>
<select
id=
"getTestData"
resultType=
"com.jz.dm.models.domian.ApiInterfaceCustom"
>
SELECT aic.*
SELECT aic.*
...
...
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