package com.lyms.cm.service.sys; import java.io.Serializable; import com.lyms.cm.entity.sys.SysDepartments; import com.lyms.exception.SystemException; import com.lyms.web.service.BaseService; /** *

* 服务类 *

* * @author maliang * @since 2017-03-08 */ public interface SysDepartmentsService extends BaseService { /** *
  • @Description:逻辑删除,ifDel = 1 为删除,否则为没有删除 *
  • @param id 删除主键id *
  • @return 大于0修改成功,否则为失败 */ public Integer deleteLogicById(Serializable id); /** *
  • @Description:添加机构/部门信息 *
  • @param departments *
  • @return *
  • 创建人:maliang *
  • 创建时间:2017年3月9日 *
  • 修改人: *
  • 修改时间: */ public boolean createDepart(SysDepartments departments) throws SystemException; /** *
  • @Description:删除机构/部门信息 *
  • @param id *
  • @return *
  • 创建人:maliang *
  • 创建时间:2017年3月9日 *
  • 修改人: *
  • 修改时间: */ public boolean deleteDepartById(String id) throws SystemException; /** *
  • @Description:修改部门/机构信息 *
  • @param departments *
  • @return *
  • 创建人:maliang *
  • 创建时间:2017年3月9日 *
  • 修改人: *
  • 修改时间: */ public boolean updateDepart(SysDepartments departments) throws SystemException; }