提交代码

This commit is contained in:
遥望-倪浩天 2024-07-26 08:57:22 +08:00
parent e60ee0d9f8
commit 529caef00d
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ public class ToolController{
if(!StringUtils.isEmpty(tool.getRelatedDisasterType())) { if(!StringUtils.isEmpty(tool.getRelatedDisasterType())) {
queryWrapper.eq("related_disaster_type", tool.getRelatedDisasterType()); queryWrapper.eq("related_disaster_type", tool.getRelatedDisasterType());
} }
if(!StringUtils.isEmpty(tool.getDisasterType())) {
queryWrapper.like("disaster_type", tool.getDisasterType());
}
String checkd = tool.getChecked(); String checkd = tool.getChecked();
if(checkd != null && checkd.equals("1")){ if(checkd != null && checkd.equals("1")){
queryWrapper.isNull("review_time"); queryWrapper.isNull("review_time");