修改流水总汇达梦数据库不支持GROUP_CONCAT函数sql报错问题
This commit is contained in:
@@ -41,7 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
select
|
select
|
||||||
SUM( IF(account_expense_type=1,billing_amount,0)) receivable,
|
SUM( IF(account_expense_type=1,billing_amount,0)) receivable,
|
||||||
SUM( IF(account_expense_type=2,billing_amount,0)) feesPayable,
|
SUM( IF(account_expense_type=2,billing_amount,0)) feesPayable,
|
||||||
GROUP_CONCAT(billing_state) AS billingStateCount,
|
WM_CONCAT(billing_state) AS billingStateCount,
|
||||||
settlement_entity,settlement_customers_code,SUM(billing_amount) bill_amount_sum,account_expense_type,COUNT(settlement_customers_code) count_fee,MIN(business_date) business_start_date ,MAX(business_date) business_end_date,organization_name,top_organization_id,billing_state,update_by_name,update_by,update_time,create_by_name,create_by,create_time
|
settlement_entity,settlement_customers_code,SUM(billing_amount) bill_amount_sum,account_expense_type,COUNT(settlement_customers_code) count_fee,MIN(business_date) business_start_date ,MAX(business_date) business_end_date,organization_name,top_organization_id,billing_state,update_by_name,update_by,update_time,create_by_name,create_by,create_time
|
||||||
from billing_statement
|
from billing_statement
|
||||||
where del_flag = 1
|
where del_flag = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user