Commit c35a9471 authored by 周健威's avatar 周健威

修改车型检索bug等

parent c45efc50
......@@ -259,14 +259,14 @@
<!-- 循环 相同父级 数据做并集, 不同父级做或集 -->
<if test=" catas != null ">
having ( 0
having ( 1
<foreach collection="catas" index="key" item="cataList">
| (
&amp; (
<foreach collection="cataList" index="cIndex" item="cata">
<if test=" cIndex != 0">
&amp;
|
</if>
FIND_IN_SET(#{cata.id},catas)
(case when FIND_IN_SET(#{cata.id},catas) > 0 then 1 else 0 end)
</foreach>
)
</foreach>
......
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