Skip to content

1.云服务——sh_user_cloud_service表

2.文件许可——sh_user_license_product表

3.云许可——_license表(ilicense库)

购买方式:线上和线下

云许可:

前提:旧数据没有订单号;经查询线上数据库,不存在这种旧数据了

内部使用:都是后台创建

周杰的从线上购买的测试数据没法过滤

线上:有订单号,无备注

线下:有订单号,07开头

1.备注是合同号,用户购买

2.备注是其他,内部使用
select * from `_license` where `remarks` is null and validityTime between  '2023-04-19 23:59:59' and  '2053-03-06 23:59:59';

select * from `_license` where `remarks` is not null and validityTime between  '2023-04-19 23:59:59' and  '2053-03-06 23:59:59';

云服务:

线上:有订单号

线下:无订单号

1.备注是合同号,用户购买

2.备注是其他,内部使用
SELECT * FROM `sh_user_cloud_service` where `remark` is not null and `expire_time`  between  '2023-04-19 23:59:59' and  '2053-03-06 23:59:59';

SELECT * FROM `sh_user_cloud_service` where `remark` is null and `expire_time`  between  '2023-04-19 23:59:59' and  '2053-03-06 23:59:59';

文件许可:

激活后,才有过期时间

线上:有订单号

线下:有订单号