新增申诉管理模块: 页面优化;

This commit is contained in:
dd3s_206
2026-05-21 17:38:07 +08:00
parent 55433b2a8e
commit 088ec7e8fe
10 changed files with 145 additions and 75 deletions
@@ -56,7 +56,7 @@ public class AppealAcceptController {
Sql sql = listSql();
Cnd cnd = taskCondition("appealAccept", "受理", approval);
if (StrUtil.isNotBlank(searchKeyword)) {
cnd.where().andLike("info.title", searchKeyword);
cnd.and("info.title", "like", "%" + searchKeyword + "%");
}
cnd.andEX("info.appealTypeId", "=", appealTypeId);
cnd.andEX("YEAR(info.applyDate)", "=", year);
@@ -56,7 +56,7 @@ public class AppealExecuteController {
Sql sql = listSql();
Cnd cnd = taskCondition("appealExecute", "执行", approval);
if (StrUtil.isNotBlank(searchKeyword)) {
cnd.where().andLike("info.title", searchKeyword);
cnd.and("info.title", "like", "%" + searchKeyword + "%");
}
cnd.andEX("info.appealTypeId", "=", appealTypeId);
cnd.andEX("YEAR(info.applyDate)", "=", year);
@@ -57,10 +57,10 @@ public class AppealMineController {
LEFT JOIN wf_process_task nt ON nt.processInstanceId = ins.id AND nt.taskState = 10
LEFT JOIN wf_process_task rt ON rt.processInstanceId = ins.id AND rt.taskParentId = t.id AND rt.taskState = 10
$condition
""");
""");
Cnd cnd = Cnd.where("info.userId", "=", SecurityUtil.getUserId());
if (StrUtil.isNotBlank(searchKeyword)) {
cnd.where().andLike("info.title", searchKeyword);
cnd.and("info.title", "like", "%" + searchKeyword + "%");
}
cnd.andEX("info.appealTypeId", "=", appealTypeId);
cnd.andEX("YEAR(info.applyDate)", "=", year);
@@ -94,7 +94,7 @@ public class AppealQueryController {
String defendantUnitId, Integer year) {
Cnd cnd = Cnd.NEW();
if (StrUtil.isNotBlank(searchKeyword)) {
cnd.where().andLike("info.title", searchKeyword);
cnd.and("info.title", "like", "%" + searchKeyword + "%");
}
cnd.andEX("info.appealTypeId", "=", appealTypeId);
cnd.andEX("info.state", "=", state);
@@ -37,7 +37,7 @@ public class AppealTypeController {
public Result pageData(Integer pageNumber, Integer pageSize, String name) {
Cnd cnd = Cnd.NEW();
if (StrUtil.isNotBlank(name)) {
cnd.where().andLike("name", name);
cnd.and("name", "like", "%" + name + "%");
}
cnd.asc("sort").desc("createdAt");
Pagination page = appealTypeService.listPage(pageNumber, pageSize, cnd);