|
|
|
@ -194,8 +194,8 @@ public class HygieneRecordServiceImpl extends ServiceImpl<HygieneRecordMapper, H
|
|
|
|
|
hygieneRecordDetailVO.setCheckList(res); |
|
|
|
|
Map<String, Object> params = BaseUtil.obj2Map(hygieneRecordDetailVO); |
|
|
|
|
String templateFile = "template/卫生自查表" + SafeProductConstant.DOCX_SUFFIX; |
|
|
|
|
String wordPath = "D:/" + "/卫生自查表" + SafeProductConstant.DOCX_SUFFIX; |
|
|
|
|
String pdfPath = "D:/" + "/卫生自查表" + SafeProductConstant.PDF_SUFFIX; |
|
|
|
|
String wordPath = savePath + "/卫生自查表" + SafeProductConstant.DOCX_SUFFIX; |
|
|
|
|
String pdfPath = savePath + "/卫生自查表" + SafeProductConstant.PDF_SUFFIX; |
|
|
|
|
BaseUtil.exportDocument(templateFile, params, wordPath, pdfPath, "",response); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|