MealsDeductServiceI.java 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package cn.com.lzt.mealsdeduct.service;
  2. import java.io.Serializable;
  3. import java.util.List;
  4. import org.jeecgframework.core.common.service.CommonService;
  5. import org.jeecgframework.minidao.pojo.MiniDaoPage;
  6. import cn.com.lzt.mealsdeduct.dto.MealsDeduct4SelectDto;
  7. import cn.com.lzt.mealsdeduct.entity.MealsDeductEntity;
  8. public interface MealsDeductServiceI extends CommonService{
  9. public void delete(MealsDeductEntity entity) throws Exception;
  10. public Serializable save(MealsDeductEntity entity) throws Exception;
  11. public void saveOrUpdate(MealsDeductEntity entity) throws Exception;
  12. /**
  13. * 批量更新操作
  14. *
  15. */
  16. public void batchUpdate(List<MealsDeductEntity> entityList) throws Exception;
  17. /**
  18. * 查询分页列表(MiniDao方式)
  19. *
  20. */
  21. public MiniDaoPage<MealsDeduct4SelectDto> getAllEntities(MealsDeduct4SelectDto dto, int page, int rows, String sql);
  22. /**
  23. * 检验时间范围是否重复
  24. * @param mealsDeduct
  25. * @return
  26. */
  27. public Boolean findMealsDeductByHours(MealsDeductEntity mealsDeduct);
  28. }