| 1234567891011121314151617181920212223242526272829303132333435363738 |
- package cn.com.lzt.overtimebudget.service;
- import cn.com.lzt.overtimebudget.entity.TBOvertimeBudgetEntity;
- import org.jeecgframework.core.common.service.CommonService;
- import java.io.Serializable;
- public interface TBOvertimeBudgetServiceI extends CommonService{
-
- public void delete(TBOvertimeBudgetEntity entity) throws Exception;
-
- public Serializable save(TBOvertimeBudgetEntity entity) throws Exception;
-
- public void saveOrUpdate(TBOvertimeBudgetEntity entity) throws Exception;
- /**
- * 获得当月加班预算
- * @param depId
- * @return
- */
- public double getCurMonthBudget(String depId);
- /**
- * 获得加班预算
- * @param depId
- * @param month yyyy-MM
- * @return
- */
- public double getMonthBudget(String depId,String month);
- /**
- * 获得month 月depId 加班剩余预算
- * @param depId
- * @param month
- * @return
- */
- public double getMonthLeftBudget(String depId,String month);
- }
|