|
@ -380,6 +380,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
//排除状态为验证状态预警
|
|
|
//排除状态为验证状态预警
|
|
|
wrapper.ne("t.handle_type", BusinessStatusEnum.VERIFY.getStatus()); |
|
|
wrapper.ne("t.handle_type", BusinessStatusEnum.VERIFY.getStatus()); |
|
|
|
|
|
|
|
|
|
|
|
wrapper.eq("t.del_flag", 0); |
|
|
|
|
|
|
|
|
if (ObjectUtil.isNotEmpty(bo.getHandleType())){ |
|
|
if (ObjectUtil.isNotEmpty(bo.getHandleType())){ |
|
|
wrapper.eq("t.handle_type", bo.getHandleType()); |
|
|
wrapper.eq("t.handle_type", bo.getHandleType()); |
|
@ -647,6 +648,14 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
return businessAlert; |
|
|
return businessAlert; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public Boolean deleteFalseAlert(Long alertId) { |
|
|
|
|
|
LambdaUpdateWrapper<BusinessAlert> wrapper = new LambdaUpdateWrapper<>(); |
|
|
|
|
|
wrapper.eq(BusinessAlert::getId, alertId); |
|
|
|
|
|
wrapper.set(BusinessAlert::getDelFlag,1); |
|
|
|
|
|
return this.baseMapper.update(wrapper) > 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|
System.out.println(getLastSixDays()); |
|
|
System.out.println(getLastSixDays()); |
|
|