TBOvertimeBudgetServiceI.java 925 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. package cn.com.lzt.overtimebudget.service;
  2. import cn.com.lzt.overtimebudget.entity.TBOvertimeBudgetEntity;
  3. import org.jeecgframework.core.common.service.CommonService;
  4. import java.io.Serializable;
  5. public interface TBOvertimeBudgetServiceI extends CommonService{
  6. public void delete(TBOvertimeBudgetEntity entity) throws Exception;
  7. public Serializable save(TBOvertimeBudgetEntity entity) throws Exception;
  8. public void saveOrUpdate(TBOvertimeBudgetEntity entity) throws Exception;
  9. /**
  10. * 获得当月加班预算
  11. * @param depId
  12. * @return
  13. */
  14. public double getCurMonthBudget(String depId);
  15. /**
  16. * 获得加班预算
  17. * @param depId
  18. * @param month yyyy-MM
  19. * @return
  20. */
  21. public double getMonthBudget(String depId,String month);
  22. /**
  23. * 获得month 月depId 加班剩余预算
  24. * @param depId
  25. * @param month
  26. * @return
  27. */
  28. public double getMonthLeftBudget(String depId,String month);
  29. }