解决通知查询的bug

This commit is contained in:
jishenghua
2025-04-11 10:38:16 +08:00
parent 0de5435677
commit fd8b56d51c

View File

@@ -57,11 +57,7 @@ public class MsgController extends BaseController {
HttpServletRequest request)throws Exception { HttpServletRequest request)throws Exception {
String name = StringUtil.getInfo(search, "name"); String name = StringUtil.getInfo(search, "name");
List<MsgEx> list = msgService.select(name); List<MsgEx> list = msgService.select(name);
if(list!=null && list.size()>0) { return getDataTable(list);
return getDataTable(list);
} else {
return null;
}
} }
@PostMapping(value = "/add") @PostMapping(value = "/add")