|
@ -206,6 +206,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
|
|
|
|
|
|
Page<BusinessAlert> page = this.baseMapper.pageBusinessAlert(pageQuery.build(), wrapper); |
|
|
Page<BusinessAlert> page = this.baseMapper.pageBusinessAlert(pageQuery.build(), wrapper); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
page.getRecords().forEach(businessAlertVo->{ |
|
|
page.getRecords().forEach(businessAlertVo->{ |
|
|
if (businessAlertVo.getBusinessType() == 2){ |
|
|
if (businessAlertVo.getBusinessType() == 2){ |
|
|
businessAlertVo.setImages(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_DKCY, businessAlertVo.getImages(), 3600).toString()); |
|
|
businessAlertVo.setImages(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_DKCY, businessAlertVo.getImages(), 3600).toString()); |
|
@ -216,6 +217,9 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
businessAlertVo.setMateSourceImgUrl(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_ALERT, businessAlertVo.getMateSourceImgUrl(), 3600).toString()); |
|
|
businessAlertVo.setMateSourceImgUrl(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_ALERT, businessAlertVo.getMateSourceImgUrl(), 3600).toString()); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return TableDataInfo.build(page); |
|
|
return TableDataInfo.build(page); |
|
|
} |
|
|
} |
|
@ -239,6 +243,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
|
|
|
|
|
|
Page<BusinessAlert> page = this.baseMapper.pageBusinessAlertCancel(pageQuery.build(), wrapper); |
|
|
Page<BusinessAlert> page = this.baseMapper.pageBusinessAlertCancel(pageQuery.build(), wrapper); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
page.getRecords().forEach(businessAlertVo->{ |
|
|
page.getRecords().forEach(businessAlertVo->{ |
|
|
if (businessAlertVo.getBusinessType() == 2){ |
|
|
if (businessAlertVo.getBusinessType() == 2){ |
|
|
businessAlertVo.setImages(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_DKCY, businessAlertVo.getImages(), 3600).toString()); |
|
|
businessAlertVo.setImages(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_DKCY, businessAlertVo.getImages(), 3600).toString()); |
|
@ -249,6 +254,9 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
businessAlertVo.setMateSourceImgUrl(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_ALERT, businessAlertVo.getMateSourceImgUrl(), 3600).toString()); |
|
|
businessAlertVo.setMateSourceImgUrl(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_ALERT, businessAlertVo.getMateSourceImgUrl(), 3600).toString()); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return TableDataInfo.build(page); |
|
|
return TableDataInfo.build(page); |
|
|
} |
|
|
} |
|
@ -274,6 +282,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
|
|
|
|
|
|
Page<BusinessAlert> page = this.baseMapper.pageAlertFinish(pageQuery.build(), wrapper); |
|
|
Page<BusinessAlert> page = this.baseMapper.pageAlertFinish(pageQuery.build(), wrapper); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
page.getRecords().forEach(businessAlertVo->{ |
|
|
page.getRecords().forEach(businessAlertVo->{ |
|
|
if (businessAlertVo.getBusinessType() == 2){ |
|
|
if (businessAlertVo.getBusinessType() == 2){ |
|
|
businessAlertVo.setImages(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_DKCY, businessAlertVo.getImages(), 3600).toString()); |
|
|
businessAlertVo.setImages(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_DKCY, businessAlertVo.getImages(), 3600).toString()); |
|
@ -284,6 +293,9 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
businessAlertVo.setMateSourceImgUrl(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_ALERT, businessAlertVo.getMateSourceImgUrl(), 3600).toString()); |
|
|
businessAlertVo.setMateSourceImgUrl(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_ALERT, businessAlertVo.getMateSourceImgUrl(), 3600).toString()); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return TableDataInfo.build(page); |
|
|
return TableDataInfo.build(page); |
|
|
} |
|
|
} |
|
@ -322,6 +334,7 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
page.getRecords().forEach(businessAlertVo->{ |
|
|
page.getRecords().forEach(businessAlertVo->{ |
|
|
if (businessAlertVo.getBusinessType() == 2){ |
|
|
if (businessAlertVo.getBusinessType() == 2){ |
|
|
businessAlertVo.setImages(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_DKCY, businessAlertVo.getImages(), 3600).toString()); |
|
|
businessAlertVo.setImages(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_DKCY, businessAlertVo.getImages(), 3600).toString()); |
|
@ -332,6 +345,9 @@ public class BusinessAlertServiceImpl implements IBusinessAlertService { |
|
|
businessAlertVo.setMateSourceImgUrl(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_ALERT, businessAlertVo.getMateSourceImgUrl(), 3600).toString()); |
|
|
businessAlertVo.setMateSourceImgUrl(MinioUntil.getObjectUrlOne(MinIOConstants.BUCKET_ALERT, businessAlertVo.getMateSourceImgUrl(), 3600).toString()); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
return TableDataInfo.build(page); |
|
|
return TableDataInfo.build(page); |
|
|
} |
|
|
} |
|
|