package cn.com.lzt.holiday.service; import cn.com.lzt.holiday.entity.HolidayEntity; import cn.com.lzt.leave.entity.LeaveEntity; import org.jeecgframework.core.common.service.CommonService; import java.io.Serializable; import java.util.List; public interface HolidayServiceI extends CommonService{ public void delete(HolidayEntity entity) throws Exception; public Serializable save(HolidayEntity entity) throws Exception; public void saveOrUpdate(HolidayEntity entity) throws Exception; /** * 逻辑删除 * */ public void logicDel(HolidayEntity entity) throws Exception; /** * 通过用户id 和月度 查询该用户在这个月内的已批准的假 * @author hualong.zhao * @date 2017-11-22 * @param userid * @param yearmonth * @return * @throws Exception */ List getUserHolidayEntities(String userid,String yearmonth) throws Exception; }