HolidayServiceI.java 905 B

123456789101112131415161718192021222324252627282930313233
  1. package cn.com.lzt.holiday.service;
  2. import cn.com.lzt.holiday.entity.HolidayEntity;
  3. import cn.com.lzt.leave.entity.LeaveEntity;
  4. import org.jeecgframework.core.common.service.CommonService;
  5. import java.io.Serializable;
  6. import java.util.List;
  7. public interface HolidayServiceI extends CommonService{
  8. public void delete(HolidayEntity entity) throws Exception;
  9. public Serializable save(HolidayEntity entity) throws Exception;
  10. public void saveOrUpdate(HolidayEntity entity) throws Exception;
  11. /**
  12. * 逻辑删除
  13. *
  14. */
  15. public void logicDel(HolidayEntity entity) throws Exception;
  16. /**
  17. * 通过用户id 和月度 查询该用户在这个月内的已批准的假
  18. * @author hualong.zhao
  19. * @date 2017-11-22
  20. * @param userid
  21. * @param yearmonth
  22. * @return
  23. * @throws Exception
  24. */
  25. List<HolidayEntity> getUserHolidayEntities(String userid,String yearmonth) throws Exception;
  26. }