diff --git a/.idea/sqldialects.xml b/.idea/sqldialects.xml index 2ae5611..d31dbf8 100644 --- a/.idea/sqldialects.xml +++ b/.idea/sqldialects.xml @@ -22,6 +22,7 @@ + diff --git a/finereport/kanban/mobile/物业_mobile.sql b/finereport/kanban/mobile/物业_mobile.sql index e69de29..fd788a9 100644 --- a/finereport/kanban/mobile/物业_mobile.sql +++ b/finereport/kanban/mobile/物业_mobile.sql @@ -0,0 +1,44 @@ +-- 【月报事率】 +select + incident_ym + , sum(response_timely_incident_num) / sum(incident_num) response_timely_rate + , sum(completed_incident_num) / sum(incident_num) completed_rate + , sum(completed_incident_num - completed_not_close_incident_num) / sum(incident_num) close_rate + , sum(follow_up_incident_num) / sum(incident_num) follow_up_rate + , sum(delay_incident_num) / sum(incident_num) delay_rate + , sum(delay_incident_num) delay_incident_num + , sum(follow_up_satisfied_incident_num) / sum(follow_up_incident_num) follow_up_satisfied_rate + , sum(follow_up_evaluate_incident_num) / sum(follow_up_incident_num) follow_up_satisfied_rate1 -- + + -- 回访满意量 / -- 回访量 + , sum(tousu_close_incident_num) / sum(tousu_incident_num) tousu_close_rate + , sum(tousu_incident_num) tousu_incident_num +FROM dws_estate_incident_info_m +where left(incident_ym,4) = '${left(p_ym,4)}' + AND incident_ym <> DATE_FORMAT(CURDATE(), '%Y%m') + ${IF(LEN(p_area)>0," AND organ_code IN ('"+JOINARRAY(p_area,"','")+"')", "")} + ${if(left(fine_role,2)=="项目","and comm_name = '"+GETUSERDEPARTMENTS(3)+"'","")} +group by incident_ym +order by incident_ym + + + +follow_up_satisfied_rate, EXACT( + incident_ym, + CONCATENATE( + year(TODAY()), -- 当前年 + if( + LEN(month(today())-1) = 1, -- + CONCATENATE("0",month(today())-1), + month(today())-1 + ) + ) + ) + +EXACT(text1,text2):检测两组文本是否相同。如果完全相同,EXACT函数返回TRUE;否则,返回FALSE。EXACT函数可以区分大小写,但忽略格式的不同。同时也可以利用EXACT函数来检测输入文档的文字。 +Text1:需要比较的第一组文本。 +Text2:需要比较的第二组文本。 +示例: +EXACT("Spreadsheet","Spreadsheet")等于TRUE。 +EXACT("Spreadsheet","S preadsheet")等于FALSE。 +EXACT("Spreadsheet","spreadsheet")等于FALSE。 \ No newline at end of file diff --git a/看板上线后修改记录-杨坤安.md b/看板上线后修改记录-杨坤安.md new file mode 100644 index 0000000..2578f41 --- /dev/null +++ b/看板上线后修改记录-杨坤安.md @@ -0,0 +1,16 @@ + + +# 【2024-08-09修改】 + +**物业看板** +- 延期单量想改报事回访评价满意度 【pc、移动已修改完成】 +- 折线图显示标签 【除客满情况未加,其余已加】 +- 收缴率改成按综合收缴率排名【pc、移动端已修改完成】 +- 综合收缴率放最前面【废弃】 +- 显示前3后3【完成】 +- 点击后扩展【完成】 +- 以最后一列排序,最后一列加粗【pc、移动端已修改完成】 +- 投诉按投诉量排名【pc、移动端已修改完成】 +- 报事信息不要 +- 监控筛选条件问题【已完成修改】 +- 监控放大问题【无法处理】 \ No newline at end of file