Commit f5f2a794 authored by 赵啸非's avatar 赵啸非

添加水印图片

parent 05900bac
...@@ -35,6 +35,7 @@ import com.mortals.xhx.module.child.service.ChildLicenseService; ...@@ -35,6 +35,7 @@ import com.mortals.xhx.module.child.service.ChildLicenseService;
import com.mortals.xhx.module.record.dao.RecordDao; import com.mortals.xhx.module.record.dao.RecordDao;
import com.mortals.xhx.module.record.model.*; import com.mortals.xhx.module.record.model.*;
import com.mortals.xhx.module.record.service.PrintWaitQueueService; import com.mortals.xhx.module.record.service.PrintWaitQueueService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.CollectionUtils;
import org.apache.http.entity.ContentType; import org.apache.http.entity.ContentType;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
...@@ -66,6 +67,7 @@ import java.util.stream.Collectors; ...@@ -66,6 +67,7 @@ import java.util.stream.Collectors;
* @date 2022-10-14 * @date 2022-10-14
*/ */
@Service("applyLogService") @Service("applyLogService")
@Slf4j
public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, ApplyLogEntity, Long> implements ApplyLogService { public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, ApplyLogEntity, Long> implements ApplyLogService {
@Value("${upload.path}") @Value("${upload.path}")
...@@ -444,6 +446,7 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap ...@@ -444,6 +446,7 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
applyLogEntity.setWatermarkUrl(targetPath); applyLogEntity.setWatermarkUrl(targetPath);
}else{ }else{
applyLogEntity.setWatermarkUrl(""); applyLogEntity.setWatermarkUrl("");
log.info("附件不存在,annexUrlAllPath:{}",annexUrlAllPath);
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment