| | |
| | | private Integer gridMember; |
| | | |
| | | |
| | | @ApiModelProperty("随手拍完成率") |
| | | private Float easyPhotoPercentage; |
| | | @ApiModelProperty("微心愿成率") |
| | | private Float microWishPercentage; |
| | | @ApiModelProperty("会议完成率") |
| | | private Float discussPercentage; |
| | | |
| | | |
| | | } |
| | |
| | | (select count(*) from com_act_micro_wish as ep INNER JOIN com_act as ca on ca.community_id = ep.community_id WHERE `status` in ('6','5') ) |
| | | / |
| | | ( select count(*) from com_act_micro_wish as ep INNER JOIN com_act as ca on ca.community_id = ep.community_id ) |
| | | ) * 100 , 2) ) as microWishPercentage |
| | | ) * 100 , 2) ) as microWishPercentage , |
| | | (SELECT |
| | | Round( |
| | | ( |
| | | ( |
| | | SELECT |
| | | count( 1 ) |
| | | FROM |
| | | com_act_discuss AS ad |
| | | INNER JOIN com_act AS ca ON ca.community_id = ad.community_id |
| | | INNER JOIN com_act_discuss_option_user AS ou ON ou.discuss_option_id = ad.id |
| | | WHERE |
| | | ad.`status` = '5' |
| | | ) / ( |
| | | SELECT |
| | | count( 1 ) |
| | | FROM |
| | | com_act_discuss AS ad |
| | | INNER JOIN com_act AS ca ON ca.community_id = ad.community_id |
| | | WHERE |
| | | ad.`status` = '5' |
| | | ) |
| | | ) * 100, |
| | | 2 |
| | | ) )as discussPercentage |
| | | |
| | | |
| | | |