Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform
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
周健威
rs-cloud-platform
Commits
5005ab82
Commit
5005ab82
authored
Apr 28, 2024
by
chenyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/04/28_模型接口修改
parent
9ee59f9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
TModelMapper.xml
...website-server/src/main/resources/mapper/TModelMapper.xml
+6
-5
No files found.
rs-website/rs-website-server/src/main/resources/mapper/TModelMapper.xml
View file @
5005ab82
...
...
@@ -72,10 +72,11 @@
t.is_del = 0
<if
test=
"modelCn != null and modelCn != ''"
>
AND t.model_cn like concat('%',#{modelCn},'%')
OR t.model_en like concat('%',#{modelCn},'%')
</if>
<if
test=
"modelEn != null and modelEn != ''"
>
AND t.model_en like concat('%',#{modelEn},'%')
</if
>
<!-- <if test="modelEn != null and modelEn != ''">--
>
<!-- AND t.model_en like concat('%',#{modelEn},'%')-->
<!-- </if>--
>
<if
test=
"releasedBy != null and releasedBy != ''"
>
AND t.released_by like concat('%',#{releasedBy},'%')
</if>
...
...
@@ -100,7 +101,7 @@
GROUP BY t.`id`
<choose>
<when
test=
"orderBy == 1"
>
ORDER BY t.`views`
,t.`id`
desc
ORDER BY t.`views` desc
</when>
<when
test=
"orderBy == 2"
>
ORDER BY t.create_time,t.id desc
...
...
@@ -109,7 +110,7 @@
ORDER BY ttr.`model_type_id`,t.id desc
</when>
<when
test=
"orderBy == 4"
>
ORDER BY t.released_by
,t.id
desc
ORDER BY t.released_by desc
</when>
</choose>
</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