Commit 882bfd65 by huluobin

update

parent eb501c63
......@@ -101,15 +101,15 @@
<select id="queryProducePage" resultType="com.gogirl.domain.product.serve.BaseProduce">
select * from base_produce t1
<if test="request.featuresId !=null ">
<if test="request.labelId !=null ">
left join features_mapping t2 on t1.id =t2.data_id and t2.data_type =2
</if>
<if test="request.colorSystemId !=null ">
left join color_system_product_map t3 on t1.id = t3.product_id
</if>
where t1.has_index_show =1
<if test="request.featuresId !=null ">
and t2.features_id=#{request.featuresId}
<if test="request.labelId !=null ">
and t2.features_id=#{request.labelId}
</if>
<if test="request.serveTypeId !=null ">
and t1.serve_type_id = #{request.serveTypeId}
......
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