package com.xueyi.system.organize.mapper;

import com.xueyi.common.datasource.annotation.Isolate;
import com.xueyi.common.web.entity.mapper.BaseMapper;
import com.xueyi.system.api.organize.domain.vo.SysDeptExt;
import com.xueyi.system.organize.domain.dto.SysDeptExtDto;
import com.xueyi.system.organize.domain.po.SysDeptExtPo;
import com.xueyi.system.organize.domain.query.SysDeptExtQuery;
import org.apache.ibatis.annotations.Param;

/**
 * 部门管理 数据层
 *
 * @author xueyi
 */
@Isolate
public interface SysDeptExtMapper  extends BaseMapper<SysDeptExtQuery, SysDeptExtDto, SysDeptExtPo> {

    public SysDeptExt selectWorkTimeByDeptId(@Param("deptId") Long id);
    public int insertWorkTimeByDeptId(SysDeptExt dept);

    public int updateWorkTimeByDeptId(SysDeptExt dept);

}
