| | |
| | | "/usr/local/project/template/", |
| | | "病历-样例.docx", |
| | | templateParam, |
| | | "病历-"+sysInspection.getNickName(), |
| | | "病历-模板", |
| | | "/usr/local/project/template/"); |
| | | // windows |
| | | // String url = wordUtil.generatePdf( |
| | | // "E:\\WXWork\\1688857451467088\\Cache\\File\\2026-01\\", |
| | | // "病历-样例.docx", |
| | | // templateParam, |
| | | // "病历-样例-temp", |
| | | // "病历-模板", |
| | | // "E:\\WXWork\\1688857451467088\\Cache\\File\\2026-01\\"); |
| | | sysInspection.setDetectionPdf(url); |
| | | sysInspectionService.updateById(sysInspection); |
| | |
| | | "/usr/local/project/template/", |
| | | "处方单-样例.docx", |
| | | templateParam, |
| | | "处方单-"+sysInspection.getNickName(), |
| | | "处方单-模板", |
| | | "/usr/local/project/template/"); |
| | | // windows |
| | | // String url = wordUtil.generatePdf( |
| | | // "E:\\WXWork\\1688857451467088\\Cache\\File\\2026-01\\", |
| | | // "处方单-样例.docx", |
| | | // templateParam, |
| | | // "处方单-"+sysInspection.getNickName(), |
| | | // "处方单-模板", |
| | | // "E:\\WXWork\\1688857451467088\\Cache\\File\\2026-01\\"); |
| | | sysInspection.setPrescriptionPdf(url); |
| | | sysInspectionService.updateById(sysInspection); |