app八项作业待办事项显示错误

liujun-2024-05-23-接口漏洞修复
limingyu 2024-05-15 10:38:15 +08:00
parent 6859510e02
commit 92ce672850
2 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ public class AppHomeController extends BaseController {
if (isDelayedExist) {
for (PageData pageData : varList) {
if (StringUtils.equals(pageData.getString("STATE"), "10")) {
pageData.put("count", delayedCount.getString("count"));
pageData.put("count", Integer.parseInt(delayedCount.getString("count")));
}
}
} else {
@ -159,7 +159,7 @@ public class AppHomeController extends BaseController {
if (isDelayedExist) {
for (PageData pageData : varList) {
if (StringUtils.equals(pageData.getString("STATE"), "10")) {
pageData.put("count", delayedCount.getString("count"));
pageData.put("count", Integer.parseInt(delayedCount.getString("count")));
}
}
} else {

View File

@ -1380,7 +1380,7 @@ public class AppHotWorkApplicationController extends BaseController {
if (isDelayedExist) {
for (PageData pageData : varList){
if (StringUtils.equals(pageData.getString("STATE"),"10")) {
pageData.put("count",delayedCount.getString("count"));
pageData.put("count",Integer.parseInt(delayedCount.getString("count")));
}
}
} else {