Przeglądaj źródła

[电表管理][修改][查询商户]

release_toaliyun_real
gongbiao 6 lat temu
rodzic
commit
f923dba16a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      mallinkService/src/main/resources/mapper/KwMerchantMeterMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/KwMerchantMeterMapper.xml Wyświetl plik

@@ -277,8 +277,8 @@
<select id="getMerchantMeter" resultMap="MerchantMeterMap">
select m.id as merchant_id,m.name as merchant_name,ifnull(mm.status,0) has from wx_merchant m
left join (select merchant_id,1 as status from kw_merchant_meter where status=0) mm on m.id=mm.merchant_id
where m.id not in(select merchant_id from wx_merchant_power_bill_config where tenant_id=#{tenantId})
left join (select merchant_id,1 as status from kw_merchant_meter where status=0 group by merchant_id) mm on m.id=mm.merchant_id
where m.status=1 and m.id not in(select merchant_id from wx_merchant_power_bill_config where tenant_id=#{tenantId})
</select>

</mapper>

Ładowanie…
Anuluj
Zapisz