StringdfValueSql="select sum(cost) cost from report_electric_cost t where t.month >='"+DateUtils.formatDate(startTime,"yyyy-MM")+"' and t.month<='"+DateUtils.formatDate(endTime,"yyyy-MM")+"' ";
dfValueSql+=" and t.depart_id in ("+JSUtils.quoteEach(departId,",")+")";