Commit fc84db45 authored by chenyan's avatar chenyan

2024/04/29_模型接口修改

parent fe187951
...@@ -36,7 +36,7 @@ public class TModelDTO extends PageParam implements Serializable { ...@@ -36,7 +36,7 @@ public class TModelDTO extends PageParam implements Serializable {
/** /**
* 模型分类id * 模型分类id
*/ */
private Integer modelTypeId; private String modelTypeIds;
/** /**
* 排序 * 排序
......
...@@ -82,7 +82,10 @@ ...@@ -82,7 +82,10 @@
AND t.released_by like concat('%',#{releasedBy},'%') AND t.released_by like concat('%',#{releasedBy},'%')
</if> </if>
<if test="softwareFramework != null and softwareFramework != ''"> <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>
<if test="status != null"> <if test="status != null">
AND t.`status` = #{status} AND t.`status` = #{status}
...@@ -96,8 +99,8 @@ ...@@ -96,8 +99,8 @@
<if test="hardwareType != null"> <if test="hardwareType != null">
AND t.`hardware_type` = #{hardwareType} AND t.`hardware_type` = #{hardwareType}
</if> </if>
<if test="modelTypeId != null"> <if test="modelTypeIds != null">
AND ttr.`model_type_id` = #{modelTypeId} AND ttr.`model_type_id` in (${modelTypeIds})
</if> </if>
GROUP BY t.`id` GROUP BY t.`id`
<choose> <choose>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment