package com.engine.bmj.service.impl;

import com.engine.bmj.service.MaterialCreateService;
import com.engine.core.impl.Service;
import com.engine.bmj.cmd.MaterialCreateCmd;
import weaver.hrm.User;

import java.util.Map;

public class MaterialCreateServiceImpl extends Service implements MaterialCreateService {
    @Override
    public Map<String, Object> createDocByMaterial(Map<String, Object> apidatas, User user) {
        return commandExecutor.execute(new MaterialCreateCmd(apidatas,user));
    }

}
