|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
and lbsb.brand_id = t.brand_id and t.effective_time <![CDATA[ <= ]]> now() and t.expiry_time >= now() |
|
|
|
|
left join logpm_basicdata_brand ldb on ldb.id = lbsb.brand_id |
|
|
|
|
left join logpm_basicdata_price_template lbpt on t.template_id = lbpt.id |
|
|
|
|
where lbsb.is_deleted = 0 and cli.is_deleted = 0 and t.is_deleted = 0 |
|
|
|
|
where lbsb.is_deleted = 0 and cli.is_deleted = 0 and (t.is_deleted = 0 or t.id is null) |
|
|
|
|
<if test="basicdataPrice.clientName != null and basicdataPrice.clientName != ''"> |
|
|
|
|
and cli.client_name like concat('%',#{basicdataPrice.clientName},'%') |
|
|
|
|
</if> |
|
|
|
|