Browse Source

feat(all): 修改价格体系数据查询不完整问题

pre-production
zhaoqiaobo 3 months ago
parent
commit
e1e1a4c5ab
  1. 2
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.xml

2
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.xml

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

Loading…
Cancel
Save