|
@@ -79,7 +79,7 @@ func GetSendCompanyList(condition string) (items []*CompanyJson, err error) {
|
|
|
WHERE a.company_id=cid
|
|
|
AND c.enabled = 1
|
|
|
AND b.cygx_auth=1
|
|
|
- AND c.status IN('正式','试用','冻结','流失')) AS permission
|
|
|
+ AND a.STATUS IN ( '正式', '试用', '永续' )) AS permission
|
|
|
FROM
|
|
|
company_report_permission AS a
|
|
|
INNER JOIN chart_permission AS b ON a.chart_permission_id = b.chart_permission_id
|
|
@@ -128,7 +128,7 @@ func GetSendCompanyFiccList(condition string) (items []*CompanyJson, err error)
|
|
|
a.company_id = cid
|
|
|
AND c.enabled = 1
|
|
|
AND b.cygx_auth = 1
|
|
|
- AND c.STATUS IN ( '正式', '试用' ,'冻结','流失')) AS permission
|
|
|
+ AND a.STATUS IN ( '正式', '试用', '永续' )) AS permission
|
|
|
FROM
|
|
|
company_report_permission AS a
|
|
|
INNER JOIN chart_permission AS b ON a.chart_permission_id = b.chart_permission_id
|