848 B
848 B
日期, 来源
| 日期 | 来源 |
|---|---|
| 2024-02-23 15:23 | 测试 |
问题详情
处理过程
查询试商用 SQL
select ei.*
from enterprise_info ei
left join ep_product_chargemode epc on ei.enterprise_id = epc.enterprise_id
left join self_service_domain_config ssdc on ssdc.tenant_id = epc.enterprise_id
where epc.product_state in (3,6)
and ssdc.product = epc.product_id
and ei.source = 'BSS'
group by ei.enterprise_id;
看逻辑是这三种状态:
PROBATION(3, " 试用中 ", ProductCheckEnum.OPEN.name()),
TRAILFINISHNOTSTOPSERVICE(6, " 试用结束 (未停服)", ProductCheckEnum.CLOSE.name()),
BSSOPEN(4, " 已开通 ", ProductCheckEnum.OPEN.name()),

