Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
operation-control-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王锦盛
operation-control-platform
Commits
87841ae4
Commit
87841ae4
authored
Mar 30, 2022
by
郭凡凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
5acf550b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
src/main/resources/mapper/ApiBasicManagementMapper.xml
src/main/resources/mapper/ApiBasicManagementMapper.xml
+11
-8
No files found.
src/main/resources/mapper/ApiBasicManagementMapper.xml
View file @
87841ae4
...
...
@@ -40,12 +40,12 @@
<if
test=
"apiUnit !=null and apiUnit!=''"
>
and api_unit = #{apiUnit}
</if>
<if
test=
"apiName !=null and apiName!=''"
>
and api_name = #{apiName}
</if
>
<if
test=
"apiCode !=null and apiCode!=''"
>
and api_code = #{apiCode}
</if
>
<!-- <if test="apiName !=null and apiName!=''">--
>
<!-- and api_name = #{apiName}-->
<!-- </if>--
>
<!-- <if test="apiCode !=null and apiCode!=''">--
>
<!-- and api_code = #{apiCode}-->
<!-- </if>--
>
<if
test=
"apiPromotion !=null and apiPromotion!=''"
>
and api_promotion = #{apiPromotion}
</if>
...
...
@@ -59,8 +59,11 @@
and api_ctime <= #{endCTime}
]]>
</if>
<if
test=
"keyword !=null and keyword != '' "
>
and api_name like CONCAT('%', #{keyword}::text,'%')
<if
test=
"apiName !=null and apiName != '' "
>
and api_name like CONCAT('%', #{apiName}::text,'%')
</if>
<if
test=
"apiCode !=null and apiCode != '' "
>
and api_code like CONCAT('%', #{apiCode}::text,'%')
</if>
</where>
</select>
...
...
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