|
@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
import org.apache.dubbo.config.annotation.DubboReference; |
|
|
import org.apache.dubbo.config.annotation.DubboReference; |
|
|
import org.dromara.business.api.domain.bo.RemoteBusinessAlertBo; |
|
|
import org.dromara.business.api.domain.bo.RemoteBusinessAlertBo; |
|
|
import org.dromara.business.api.domain.vo.RemoteBusinessAlertVo; |
|
|
import org.dromara.business.api.domain.vo.RemoteBusinessAlertVo; |
|
@ -54,6 +55,7 @@ import java.util.stream.Collectors; |
|
|
*/ |
|
|
*/ |
|
|
@RequiredArgsConstructor |
|
|
@RequiredArgsConstructor |
|
|
@Service |
|
|
@Service |
|
|
|
|
|
@Slf4j |
|
|
public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
|
|
|
|
|
|
private final BusinessAlertMapper baseMapper; |
|
|
private final BusinessAlertMapper baseMapper; |
|
@ -218,7 +220,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
|
|
|
log.error(e.getMessage(),e); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return TableDataInfo.build(page); |
|
|
return TableDataInfo.build(page); |
|
@ -255,7 +257,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
|
|
|
log.error(e.getMessage(),e); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return TableDataInfo.build(page); |
|
|
return TableDataInfo.build(page); |
|
@ -294,7 +296,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
|
|
|
log.error(e.getMessage(),e); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return TableDataInfo.build(page); |
|
|
return TableDataInfo.build(page); |
|
@ -346,7 +348,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
|
|
|
log.error(e.getMessage(),e); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return TableDataInfo.build(page); |
|
|
return TableDataInfo.build(page); |
|
|