Sfoglia il codice sorgente

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

release_toaliyun_real
gongbiao 6 anni fa
parent
commit
f923dba16a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      mallinkService/src/main/resources/mapper/KwMerchantMeterMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/KwMerchantMeterMapper.xml Vedi File

@@ -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>

Caricamento…
Annulla
Salva