Class ContractGenerateLogsCommandHandler
java.lang.Object
com.sankcrm.erp.contract.application.command.generatlogs.ContractGenerateLogsCommandHandler
- All Implemented Interfaces:
com.sankcrm.erp.bus.CommandHandler<Path,ContractGenerateLogsCommand>
@Component
@Transactional(rollbackFor=java.lang.Exception.class,
timeout=180)
public class ContractGenerateLogsCommandHandler
extends Object
implements com.sankcrm.erp.bus.CommandHandler<Path,ContractGenerateLogsCommand>
生成操作日志
- Since:
- 1.0.0
- Author:
- zhsxin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PathgenerateLogs(Contract contract) 生成操作日志handle(ContractGenerateLogsCommand command)
-
Constructor Details
-
ContractGenerateLogsCommandHandler
public ContractGenerateLogsCommandHandler()
-
-
Method Details
-
handle
public Path handle(ContractGenerateLogsCommand command) throws com.sankcrm.erp.common.exception.CoreException - Specified by:
handlein interfacecom.sankcrm.erp.bus.CommandHandler<Path,ContractGenerateLogsCommand> - Throws:
com.sankcrm.erp.common.exception.CoreException
-
generateLogs
生成操作日志- Parameters:
contract- 合同- Returns:
- 日志文件路径
-