package com.engine.kq.service;

import weaver.hrm.User;

import java.util.Map;

/**
 * 一键开启考勤
 */
public interface KQSetupWizardService {

    /**
     * 获取表单
     * @param params
     * @param user
     * @return
     */
    public Map<String, Object> getSetupForm(Map<String, Object> params, User user);

    /**
     * 获取右键菜单
     * @param params
     * @param user
     * @return
     */
    public Map<String, Object> getRightMenu(Map<String, Object> params, User user);

    /**
     * 获取初始化考勤的步骤
     * @param params
     * @param user
     * @return
     */
    public Map<String, Object> getSetupSteps(Map<String, Object> params, User user);

    /**
     * 执行初始化
     * @param params
     * @param user
     * @return
     */
    public Map<String, Object> performInitialization(Map<String, Object> params, User user);

    /**
     * 判断是否需要做一键初始化，检测如果存在历史一般工作时间等老考勤设置，给出提示让客户选择是否使用考勤设置升级
     * @param params
     * @param user
     * @return
     */
    public Map<String, Object> checkNeedInit(Map<String, Object> params, User user);
}
