package com.shlanbao.tzsc.pms.equ.eqpInspection.service; import java.util.List; import javax.servlet.http.HttpSession; import com.shlanbao.tzsc.base.mapping.EqmInspection; 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.pms.equ.eqpInspection.bean.EqmInspectionBean; /** * @author zhou * */ public interface EqmInspectionServiceI { /** * @Title: addBean * @Description: 新增 * @param bean * @return boolean 返回类型 * @throws */ public boolean addBean(EqmInspection bean); /** * @Title: updateBean * @Description: 修改 * @param bean * @return boolean 返回类型 * @throws */ public boolean updateBean(EqmInspectionBean bean); public EqmInspection getBeanById(String id); /** * @throws Exception * @Title: getBeanByIds * @Description: 根据Id查询 * @param id * @return EqmInspectionBean 返回类型 * @throws */ public EqmInspectionBean getBeanByIds(String id) throws Exception; public List getRoleAll(); public void deleteInspection(String id); public DataGrid queryInspectionById(SysEqpCategory mdTypeBean, PageParams pageParams); /** * 批量删除 * @param ids */ void batchDeleteInspection(String ids); }