package com.shlanbao.tzsc.pms.equ.eqpMaintain.service;
|
|
import java.util.List;
|
|
import javax.servlet.http.HttpSession;
|
|
|
import com.shlanbao.tzsc.base.mapping.SysEqpCategory;
|
import com.shlanbao.tzsc.base.mapping.SysRole;
|
import com.shlanbao.tzsc.base.model.DataGrid;
|
import com.shlanbao.tzsc.base.model.Json;
|
import com.shlanbao.tzsc.base.model.PageParams;
|
import com.shlanbao.tzsc.base.mapping.EqmMaintain;
|
import com.shlanbao.tzsc.pms.equ.eqpMaintain.bean.EqmMaintainBean;
|
/**
|
* @ClassName: EqMaintainServiceI
|
* @Description: 保养计划管理
|
* @author zhou
|
* @date 2017年09月09日09:13
|
*
|
*/
|
|
public interface EqMaintainServiceI {
|
|
|
/**
|
* @Title: addBean
|
* @Description: 新增
|
* @param bean
|
* @return boolean 返回类型
|
* @throws
|
*/
|
public boolean addBean(EqmMaintain bean);
|
/**
|
* @Title: updateBean
|
* @Description: 修改
|
* @param bean
|
* @return boolean 返回类型
|
* @throws
|
*/
|
public boolean updateBean(EqmMaintainBean bean);
|
|
public EqmMaintain getBeanById(String id);
|
/**
|
* @throws Exception
|
* @Title: getBeanByIds
|
* @Description: 根据Id查询
|
* @param id
|
* @return EqmMaintainBean 返回类型
|
* @throws
|
*/
|
public EqmMaintainBean getBeanByIds(String id) throws Exception;
|
|
|
|
|
public List<SysRole> getRoleAll();
|
public void deleteMaintain(String id);
|
public DataGrid queryMaintainById(SysEqpCategory mdTypeBean, PageParams pageParams);
|
|
|
/**
|
* 批量删除
|
* @param id
|
*/
|
void batchDeleteMaintain(String ids);
|
}
|