|
@@ -204,7 +204,7 @@
|
|
|
left join asso_structure_patent struP on find_in_set(stru.id, struP.path)
|
|
|
where stru.parent_id = #{parentId}
|
|
|
and stru.product_id = #{productId}
|
|
|
- <if test="ids != null">
|
|
|
+ <if test="ids != null and ids.size > 0">
|
|
|
and stru.id in (
|
|
|
<foreach collection="ids" item="item" separator=",">
|
|
|
#{item}
|