package cn.hnthyy.thmz.service.thmz;

import cn.hnthyy.thmz.entity.MzException;
import cn.hnthyy.thmz.entity.thmz.User;
import cn.hnthyy.thmz.entity.thmz.WorkspaceConfig;

public interface WorkspaceConfigService {
    /**
     * 增加医生工作台配置
     * @param workspaceConfig
     * @return
     */
    int save(WorkspaceConfig workspaceConfig,User tokenUser) throws MzException;

    /**
     * 根据主键查询
     * @param id
     * @return
     */
    WorkspaceConfig queryWorkspaceConfigById(Long id);


    /**
     * 根据医生编码查询
     * @param userIdCode
     * @return
     */
    WorkspaceConfig queryWorkspaceConfigByUserIdCode(String userIdCode);

}
