package cn.iocoder.yudao.module.hrm.service.employee.contract; /** * 员工合同文档生成 Service * * 按合同 + 员工数据,套用 Word 模板生成劳动合同 / 劳务合同 docx。 * * @author 超级管理员 */ public interface ContractDocumentService { /** * 生成合同 docx * * @param contractId 合同编号 * @param templateType 模板类型:1-劳动合同(简版) 2-劳动合同(标准) 3-劳务合同 * @return docx 字节 */ byte[] generateDocx(Long contractId, Integer templateType); /** * 生成文件名 */ String buildFileName(Long contractId, Integer templateType); }