package com.goafanti.common.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.goafanti.common.model.WorkingHours;

public interface WorkingHoursMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table working_hours
	 * @mbg.generated  Fri Jul 09 11:31:02 CST 2021
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table working_hours
	 * @mbg.generated  Fri Jul 09 11:31:02 CST 2021
	 */
	int insert(WorkingHours record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table working_hours
	 * @mbg.generated  Fri Jul 09 11:31:02 CST 2021
	 */
	int insertSelective(WorkingHours record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table working_hours
	 * @mbg.generated  Fri Jul 09 11:31:02 CST 2021
	 */
	WorkingHours selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table working_hours
	 * @mbg.generated  Fri Jul 09 11:31:02 CST 2021
	 */
	int updateByPrimaryKeySelective(WorkingHours record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table working_hours
	 * @mbg.generated  Fri Jul 09 11:31:02 CST 2021
	 */
	int updateByPrimaryKey(WorkingHours record);

	List<WorkingHours> selectList();

	WorkingHours selectBydepId(@Param("depId")String depId);

	int getTypeCount(Integer type);

	int getDepTypeCount(Integer id);
}