Commit 4017a0b5 authored by 赵啸非's avatar 赵啸非

修改缓存刷新

parent 275bf7b2
Pipeline #2725 failed with stages
...@@ -62,8 +62,8 @@ public class MatterDatumPrintServiceImpl extends AbstractCRUDServiceImpl<MatterD ...@@ -62,8 +62,8 @@ public class MatterDatumPrintServiceImpl extends AbstractCRUDServiceImpl<MatterD
} }
entity.setOrderId(IdUtil.simpleUUID()); entity.setOrderId(IdUtil.simpleUUID());
String rootPath = this.filePath.endsWith("/") ? this.filePath : this.filePath + "/"; String rootPath = this.filePath.endsWith("/") ? this.filePath : this.filePath + "/";
Integer pageByDoc = WordUtil.getPageByDoc(rootPath + entity.getDocPath()); // Integer pageByDoc = WordUtil.getPageByDoc(rootPath + entity.getDocPath());
entity.setPrintPage(pageByDoc); entity.setPrintPage(1);
if (!ObjectUtils.isEmpty(entity.getDeviceCode())) { if (!ObjectUtils.isEmpty(entity.getDeviceCode())) {
DeviceEntity deviceEntity = deviceService.selectOne(new DeviceQuery().deviceCode(entity.getDeviceCode())); DeviceEntity deviceEntity = deviceService.selectOne(new DeviceQuery().deviceCode(entity.getDeviceCode()));
......
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