package com.shlanbao.tzsc.pms.qm.prod.service;
|
|
import java.util.List;
|
|
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpSession;
|
|
import com.shlanbao.tzsc.base.model.DataGrid;
|
import com.shlanbao.tzsc.base.model.PageParams;
|
import com.shlanbao.tzsc.pms.qm.prod.beans.QmProdFileBean;
|
import com.shlanbao.tzsc.pms.qm.prod.beans.QmProdManageBean;
|
/**
|
* 工艺规程业务接口
|
* @author luther.zhang
|
* @create 2014-12-31
|
*/
|
public interface QmProdManageService {
|
/**
|
* 查询
|
*/
|
DataGrid queryList(QmProdManageBean bean,PageParams pageParams) throws Exception;
|
/**
|
* 根据ID查询
|
*/
|
DataGrid queryListById(String id,PageParams pageParams) throws Exception;
|
/**
|
* 新建
|
* @author luther.zhang
|
* @create 2014-12-25
|
* @param bean
|
* @return
|
*/
|
String addBean(QmProdManageBean bean) throws Exception;
|
/**
|
* 修改
|
* @author luther.zhang
|
* @create 2014-12-25
|
* @param bean
|
*/
|
void editBean(QmProdManageBean bean) throws Exception;
|
/**
|
* 删除
|
* @author luther.zhang
|
* @create 2014-12-25
|
* @param id
|
*/
|
void deleteBean(String id) throws Exception;
|
/**
|
* 批量删除
|
* @author luther.zhang
|
* @create 2014-12-25
|
* @param ids
|
*/
|
void batchDeleteByIds(String ids) throws Exception;
|
/**
|
* 根据id获取对象
|
* @author luther.zhang
|
* @create 2014-12-25
|
* @param id
|
* @return
|
*/
|
QmProdManageBean getBeanById(String id) throws Exception;
|
/**
|
* 批量添加
|
* @author luther.zhang
|
* @create 2014-12-25
|
* @param beans
|
* @throws Exception
|
*/
|
void batchInsert(List<QmProdManageBean> beans) throws Exception;
|
|
/**
|
* 文件修改,上传
|
* @param session
|
* @param request
|
* @param fmBean
|
* @throws Exception
|
*/
|
void fileUpdate(String prodManageId,HttpSession session, HttpServletRequest request,
|
QmProdFileBean fmBean) throws Exception;
|
|
/**
|
* 审核
|
* @author luther.zhang
|
* @create 2014-12-30
|
* @param bean
|
*/
|
void editReview(String ids,String status,HttpSession session) throws Exception;
|
/**
|
* 下发
|
* @author luther.zhang
|
* @create 2014-12-30
|
* @param bean
|
*/
|
void editSend(String ids,String status,HttpSession session) throws Exception;
|
/**
|
* 批量删除
|
* @author luther.zhang
|
* @create 2014-12-30
|
* @param ids
|
*/
|
void deleteFiles(String ids,HttpSession session) throws Exception;
|
|
}
|