Initial commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
---
|
||||
日期: 2024-02-23 15:23
|
||||
来源: 测试
|
||||
---
|
||||
|
||||
# 问题详情
|
||||
|
||||

|
||||
|
||||
# 处理过程
|
||||
|
||||
查询试商用 SQL
|
||||
|
||||
```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()),
|
||||
|
||||
# 总结
|
||||
|
||||

|
||||
Reference in New Issue
Block a user