package com.engine.htsc.coworkreport.service.impl;

import com.engine.core.impl.Service;
import com.engine.htsc.coworkreport.cmd.TaskMessageCmd;
import com.engine.htsc.coworkreport.service.TaskMessageService;
import weaver.hrm.User;

import java.util.Map;

public class TaskMessageServiceImpl extends Service implements TaskMessageService {
    @Override
    public Map<String, Object> sendMessage(Map<String, Object> params, User user) {
        return commandExecutor.execute(new TaskMessageCmd(params,user));
    }
}
