package cn.com.lzt.mealsdeduct.service; import java.io.Serializable; import java.util.List; import org.jeecgframework.core.common.service.CommonService; import org.jeecgframework.minidao.pojo.MiniDaoPage; import cn.com.lzt.mealsdeduct.dto.MealsDeduct4SelectDto; import cn.com.lzt.mealsdeduct.entity.MealsDeductEntity; public interface MealsDeductServiceI extends CommonService{ public void delete(MealsDeductEntity entity) throws Exception; public Serializable save(MealsDeductEntity entity) throws Exception; public void saveOrUpdate(MealsDeductEntity entity) throws Exception; /** * 批量更新操作 * */ public void batchUpdate(List entityList) throws Exception; /** * 查询分页列表(MiniDao方式) * */ public MiniDaoPage getAllEntities(MealsDeduct4SelectDto dto, int page, int rows, String sql); /** * 检验时间范围是否重复 * @param mealsDeduct * @return */ public Boolean findMealsDeductByHours(MealsDeductEntity mealsDeduct); }