PostServiceI.java 755 B

12345678910111213141516171819202122232425262728293031323334
  1. package cn.com.lzt.post.service;
  2. import java.io.Serializable;
  3. import java.util.List;
  4. import org.jeecgframework.core.common.service.CommonService;
  5. import cn.com.lzt.post.entity.PostEntity;
  6. public interface PostServiceI extends CommonService{
  7. public void delete(PostEntity entity) throws Exception;
  8. public Serializable save(PostEntity entity) throws Exception;
  9. public void saveOrUpdate(PostEntity entity) throws Exception;
  10. /**
  11. * 逻辑删除
  12. *
  13. */
  14. public void logicDel(PostEntity entity) throws Exception;
  15. /**
  16. * 批量更新操作
  17. *
  18. */
  19. public void batchUpdate(List<PostEntity> entityList) throws Exception;
  20. /**
  21. * 查询岗位
  22. * @param post
  23. * @return
  24. */
  25. public Boolean findPostByPostName(PostEntity post);
  26. }