diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyLogServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyLogServiceImpl.java index f6ace80..cfe22fc 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyLogServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyLogServiceImpl.java @@ -14,6 +14,7 @@ import org.apache.commons.io.IOUtils; import org.springblade.core.log.exception.ServiceException; import org.springblade.core.mp.base.BaseServiceImpl; import org.springblade.core.tool.utils.Func; +import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import java.io.*; import java.net.HttpURLConnection; @@ -30,6 +31,8 @@ import java.util.*; @Service public class ImsDutyLogServiceImpl extends BaseServiceImpl implements IImsDutyLogService { + @Value("${hzims.duty.file-path}") + private String savePath; @Override public void exportDutyLog(String dutyId, HashMap map) { ImsDutyLogEntity res = this.baseMapper.selectOne(new LambdaQueryWrapper() {{ @@ -107,12 +110,14 @@ public class ImsDutyLogServiceImpl extends BaseServiceImpl