Browse Source

1.暂存单查询问题

master
zhenghaoyu 6 months ago
parent
commit
e3ba0853c3
  1. 2
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineAdvanceMapper.xml

2
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineAdvanceMapper.xml

@ -15,7 +15,7 @@
select lta.*, select lta.*,
lbc.client_name htMallName lbc.client_name htMallName
from logpm_trunkline_advance lta from logpm_trunkline_advance lta
left join logpm_basicdata_tripartite_mall lbtm on lbtm.tripartite_mall = lta.dealer_name and lbtm.brand_name = lta.brand and IFNULL(lta.dealer_code,'') = IFNULL(lbtm.tripartite_coding,'') and lbtm.is_deletd = 0 left join logpm_basicdata_tripartite_mall lbtm on lbtm.tripartite_mall = lta.dealer_name and lbtm.brand_name = lta.brand and IFNULL(lta.dealer_code,'') = IFNULL(lbtm.tripartite_coding,'') and lbtm.is_deleted = 0
left join logpm_basicdata_client lbc on lbc.id = lbtm.client_id left join logpm_basicdata_client lbc on lbc.id = lbtm.client_id
where lta.is_deleted = 0 where lta.is_deleted = 0
and lta.waybill_status = 0 and lta.waybill_status = 0

Loading…
Cancel
Save