@@ -24,7 +24,7 @@ import java.util.Map; | |||
* @since 2020-05-16 | |||
*/ | |||
@RestController | |||
@RequestMapping("/front/authrule") | |||
@RequestMapping("/front/userauthrule") | |||
public class UserAuthRuleController extends FrontBaseController { | |||
@Autowired |
@@ -67,6 +67,9 @@ public class UserDataStatisticsController { | |||
.eq(TauvInspectQuestion::getStatus, 3) | |||
.eq(TauvInspectQuestion::getMark, 1)); | |||
result.put("finishedNum", finishedNum); | |||
// 未完成数 | |||
result.put("waitNum", totalNum - finishedNum); | |||
// 已处理占比 | |||
if (totalNum > 0) { | |||
result.put("percentage", String.format("%.2f", (float) finishedNum / (float) totalNum * 100)); |