package com.engine.kq.service;

import weaver.hrm.User;

import java.util.Map;

/**
 * 出差规则
 */
public interface KQTravelRulesService  {

    /**
     * 获取右键菜单
     * @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> getTravelRulesForm(Map<String, Object> params, User user);

    /**
     * 保存
     * @param params
     * @param user
     * @return
     */
    public Map<String, Object> saveTravelRules(Map<String, Object> params, User user);
}
