|
@@ -152,6 +152,7 @@
|
|
|
WHERE
|
|
WHERE
|
|
|
ppl.tenant_id = #{tenantId}
|
|
ppl.tenant_id = #{tenantId}
|
|
|
AND ppl.is_deleted = 0
|
|
AND ppl.is_deleted = 0
|
|
|
|
|
+ and ppl.up_and_down_shelves = 1
|
|
|
AND ppl.sales_company_id = #{salesCompanyId}
|
|
AND ppl.sales_company_id = #{salesCompanyId}
|
|
|
and ppl.bill_type = 0
|
|
and ppl.bill_type = 0
|
|
|
<if test="brandId != null">
|
|
<if test="brandId != null">
|