查询结果河南还有差率费。没有业务招待费所以不显示。我希望他可以固定显示、如果没有数据则为0即可,哪位大佬给看看这是我的sql语句select c.code as costCenterID,ltrim(rtrim(c.name)) as costCenterName,c.province_id as CentersupFccId,c.province_name as CenterSupName,s.oaId as budgetID,s.name as budgetName,s.parentID as BudgetsupId,ltrim(rtrim((select name from budget_subject where id=s.parentID))) as BudgetsupName,d.amount as budgetAccount,d.date as monthfrom data_cache dLEFT JOIN budget_costcenter c ON c.code=d.codeLEFT JOIN budget_subject s ON s.id=d.subject_idWHERE code_type in(3) and c.status = 4 ${if(len(costCenterID)==0,"", "and c.code in ("+joinarray(maparray(costCenterID,"'"+item+"'"),",")+")")}order by d.id,s.listOrder