Feat: all - support multiple platforms
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
t_b_tool_main.name as tool_name,
|
||||
t_b_tool_main.tool_id as tool_tool_id,
|
||||
t_b_tool_main.icon as tool_icon,
|
||||
t_b_tool_main.platform as tool_platform,
|
||||
t_b_tool_main.description as tool_description,
|
||||
t_b_tool_main.base_id as tool_base_id,
|
||||
t_b_tool_main.author_id as tool_author_id,
|
||||
@@ -74,6 +75,11 @@
|
||||
close=")" nullable="true">
|
||||
#{item}
|
||||
</foreach>
|
||||
<foreach collection="platform" item="item" index="index" open="and t_b_tool_main.platform in ("
|
||||
separator=","
|
||||
close=")" nullable="true">
|
||||
#{item}
|
||||
</foreach>
|
||||
<if test="searchValue != null">
|
||||
<choose>
|
||||
<when test="searchType == 'NAME'">
|
||||
@@ -155,6 +161,7 @@
|
||||
t_b_tool_main.name as tool_name,
|
||||
t_b_tool_main.tool_id as tool_tool_id,
|
||||
t_b_tool_main.icon as tool_icon,
|
||||
t_b_tool_main.platform as tool_platform,
|
||||
t_b_tool_main.description as tool_description,
|
||||
t_b_tool_main.base_id as tool_base_id,
|
||||
t_b_tool_main.author_id as tool_author_id,
|
||||
@@ -216,6 +223,7 @@
|
||||
<result property="name" column="tool_name"/>
|
||||
<result property="toolId" column="tool_tool_id"/>
|
||||
<result property="icon" column="tool_icon"/>
|
||||
<result property="platform" column="tool_platform"/>
|
||||
<result property="description" column="tool_description"/>
|
||||
<result property="baseId" column="tool_base_id"/>
|
||||
<result property="authorId" column="tool_author_id"/>
|
||||
|
||||
Reference in New Issue
Block a user