Commit 5b7912b2 by huluobin

update

parent 37682961
...@@ -127,7 +127,9 @@ ...@@ -127,7 +127,9 @@
and t1.service_id =#{request.serveId} and t1.service_id =#{request.serveId}
</if> </if>
and t1.`status` =1 and t1.`status` =1
and t5.store_id = #{request.departmentId} <if test="request.departmentId !=null ">
and t5.store_id = #{request.departmentId}
</if>
<choose> <choose>
<when test="request.sort == 1 "> <when test="request.sort == 1 ">
order by t1.sales_num desc order by t1.sales_num desc
......
...@@ -174,8 +174,10 @@ ...@@ -174,8 +174,10 @@
<if test="baseServe.labelId != null "> <if test="baseServe.labelId != null ">
and t2.features_id = #{baseServe.labelId} and t2.features_id = #{baseServe.labelId}
</if> </if>
<if test="baseServe.departmentId != null ">
and t3.store_id = #{baseServe.departmentId}
</if>
and has_purchase_show=1 and has_purchase_show=1
and t3.store_id = #{baseServe.departmentId}
order by purchase_show_index desc order by purchase_show_index desc
</select> </select>
</mapper> </mapper>
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