|
@@ -60,7 +60,7 @@
|
|
|
d.`student_up_limit_`,
|
|
|
b.`expiry_date_`
|
|
|
FROM tenant_info AS a
|
|
|
- LEFT JOIN tenant_product_info AS b ON a.`id_` = b.`tenant_id_` and b.using = 0
|
|
|
+ LEFT JOIN tenant_product_info AS b ON a.`id_` = b.`tenant_id_` and b.using_ = 0
|
|
|
LEFT JOIN platform_serve AS c ON b.`serve_id_` = c.`id_`
|
|
|
LEFT JOIN platform_serve_detail AS d ON b.`serve_detail_id_` = d.`id_` AND c.`id_` = d.`serve_id_`
|
|
|
LEFT JOIN sys_user AS u ON a.`created_by_` = u.`id_`
|
|
@@ -100,7 +100,7 @@
|
|
|
psd.student_up_limit_ as studentUpLimit
|
|
|
FROM `tenant_info` t
|
|
|
left join tenant_assets_info ta on ta.tenant_id_ = t.id_
|
|
|
- left join tenant_product_info tp on tp.tenant_id_ = t.id_ and tp.using = 0
|
|
|
+ left join tenant_product_info tp on tp.tenant_id_ = t.id_ and tp.using_ = 0
|
|
|
left join platform_serve ps on tp.serve_id_ = ps.id_
|
|
|
left join platform_serve_detail psd on tp.serve_detail_id_ = psd.id_
|
|
|
where t.id_ = #{tenantId}
|