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

import com.engine.core.impl.Service;
import com.engine.htsc.ydbx.dao.GetGoalCanCreateCMD;
import com.engine.htsc.ydbx.dao.OpenWfByDeptCMD;
import com.engine.htsc.ydbx.service.MobileReimbursableService;

import java.util.Map;

public class MobileReimServiceImpl extends Service implements MobileReimbursableService {
    @Override
    public Map<String, Object> getCanCreateWf(Map<String, Object> params) {
        return commandExecutor.execute(new GetGoalCanCreateCMD(params));
    }

    @Override
    public Map<String, Object> openWfByDeptService(Map<String, Object> params) {
        return commandExecutor.execute(new OpenWfByDeptCMD(params));
    }
}
