Commit bd6e7ac0 authored by 廖旭伟's avatar 廖旭伟

目录增加生成证照目录Excel导入文件模板接口

parent 8365a39f
...@@ -221,5 +221,10 @@ public class CertificateCatalogServiceImpl extends AbstractCRUDServiceImpl<Certi ...@@ -221,5 +221,10 @@ public class CertificateCatalogServiceImpl extends AbstractCRUDServiceImpl<Certi
public void generateExcel(Long id, Context context) { public void generateExcel(Long id, Context context) {
CertificateCatalogEntity entity = dao.get(id); CertificateCatalogEntity entity = dao.get(id);
parseDocxToJson(entity,true); parseDocxToJson(entity,true);
CertificateCatalogEntity updata = new CertificateCatalogEntity();
updata.setId(entity.getId());
updata.setExcelFile(entity.getExcelFile());
updata.setUpdateTime(new Date());
dao.update(updata);
} }
} }
\ No newline at end of file
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