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
fc84db45
Commit
fc84db45
authored
Apr 29, 2024
by
chenyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/04/29_模型接口修改
parent
fe187951
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
TModelDTO.java
...in/java/com/upyuns/platform/rs/website/dto/TModelDTO.java
+1
-1
TModelMapper.xml
...website-server/src/main/resources/mapper/TModelMapper.xml
+6
-3
No files found.
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/dto/TModelDTO.java
View file @
fc84db45
...
...
@@ -36,7 +36,7 @@ public class TModelDTO extends PageParam implements Serializable {
/**
* 模型分类id
*/
private
Integer
modelTypeId
;
private
String
modelTypeIds
;
/**
* 排序
...
...
rs-website/rs-website-server/src/main/resources/mapper/TModelMapper.xml
View file @
fc84db45
...
...
@@ -82,7 +82,10 @@
AND t.released_by like concat('%',#{releasedBy},'%')
</if>
<if
test=
"softwareFramework != null and softwareFramework != ''"
>
AND t.software_framework like concat('%',#{softwareFramework},'%')
AND t.software_framework in
<foreach
item=
"item"
index=
"index"
collection=
"softwareFramework.split(',')"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</if>
<if
test=
"status != null"
>
AND t.`status` = #{status}
...
...
@@ -96,8 +99,8 @@
<if
test=
"hardwareType != null"
>
AND t.`hardware_type` = #{hardwareType}
</if>
<if
test=
"modelTypeId != null"
>
AND ttr.`model_type_id`
= #{modelTypeId}
<if
test=
"modelTypeId
s
!= null"
>
AND ttr.`model_type_id`
in (${modelTypeIds})
</if>
GROUP BY t.`id`
<choose>
...
...
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