Commit 870319c2 by huluobin

线上标签bug fix

parent 7e2c1aed
......@@ -6,13 +6,12 @@
<select id="queryServeFeatures" resultType="com.gogirl.domain.product.serve.BaseFeatures">
select t1.* from base_features t1
INNER JOIN features_mapping t2 on t1.id = t2.features_id
LEFT JOIN base_produce t3 on t2.data_id = t3.id
left join base_serve bs on t3.service_id = bs.id
left join base_serve bs on t2.data_id = bs.id
where t2.data_type = 1
<if test="serveTypeId != null">
and bs.type_id=#{serveTypeId}
</if>
# and t1.has_index_show = 1
# and t1.has_index_show = 1
GROUP BY t1.id
HAVING count(t1.id) > 0
order by t1.index_sort asc
......
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