Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
44c4a072
Commit
44c4a072
authored
Jul 24, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(tcm):根据extend、Type、name模糊查询字典
parent
dabce739
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
DataDictionaryMapper.xml
...common/src/main/resources/mapper/DataDictionaryMapper.xml
+10
-1
No files found.
amos-boot-biz-common/src/main/resources/mapper/DataDictionaryMapper.xml
View file @
44c4a072
...
...
@@ -116,12 +116,21 @@ WHERE
<select
id=
"getDictByExtendsAndTypePage"
resultType=
"com.yeejoin.amos.boot.biz.common.entity.DataDictionary"
>
SELECT *
FROM cb_data_dictionary
WHERE type = #{type}
WHERE
<choose>
<when
test=
"type == 'HZXM'"
>
type IN ('HZXM', 'HZXM_OLD')
</when>
<otherwise>
type = #{type}
</otherwise>
</choose>
<if
test=
"extend != null and extend != ''"
>
AND #{extend} = ANY(string_to_array(extend, ','))
</if>
<if
test=
"name != null and name != ''"
>
AND name LIKE CONCAT('%', #{name}, '%')
</if>
ORDER BY SORT_NUM
</select>
</mapper>
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