package com.jiuqi.mobile.nigo.comeclose.manager.file; import java.util.List; import java.util.Map; import com.jiuqi.mobile.nigo.comeclose.bean.LoadOnGetList; import com.jiuqi.mobile.nigo.comeclose.bean.app.file.SentEmployeeBean; import com.jiuqi.mobile.nigo.comeclose.bean.app.file.ServiceFileBean; import com.jiuqi.mobile.nigo.comeclose.bean.app.file.ServicePartBean; import com.jiuqi.mobile.nigo.comeclose.manager.ISimpleManger; import com.jiuqi.mobile.nigo.comeclose.manager.ManagerAnnotation; import com.jiuqi.mobile.nigo.comeclose.manager.master.SelectRepairsFileKey; import com.jiuqi.mobile.nigo.comeclose.manager.master.SelectServiceFilesKey; import com.jiuqi.mobile.nigo.comeclose.portal.PortalAnnotation; import com.jiuqi.mobile.nigo.comeclose.portal.PortalMethodAnnctation; /** * * 项目名称:comeclose 类名称:IServiceFilesManager 类描述: 维修档案 创建人:admin 创建时间:2014-8-5 * 上午10:17:34 修改人:admin 修改时间:2014-8-5 上午10:17:34 修改备注: * * @version * */ @ManagerAnnotation(implClass = "com.jiuqi.mobile.nigo.biz.app.file.manager.ServiceFilesManagerImpl") @PortalAnnotation(implClass = "com.jiuqi.mobile.nigo.biz.app.file.manager.ServiceFilesManagerImpl") public interface IServiceFilesManager extends ISimpleManger<ServiceFileBean> { /** * @Title: findServiceFileBySentEmployeeGuid * @Description: 通过派工单guid查询维修信息 * @param @param sentEmployeeGuid * @param @return 设定文件 * @return ServiceFileBean 返回类型 * @throws */ ServiceFileBean findServiceFileBySentEmployeeGuid(String sentEmployeeGuid); /** * @Title: updateServiceFile * @Description: 修改维修档案表 * @param @param serviceFileBean * @param @return 设定文件 * @return void 返回类型 * @throws */ void updateServiceFile(ServiceFileBean serviceFileBean); /** * * @Title: createServiceFileAndUpdateSentEmpl * @Description: 生成维修档案和修改派工单为处理状态 * @param @param serviceFileBean 维修单bean * @param @param parts 配件json串 * @param @return 设定文件 * @return boolean 返回类型 * @throws */ boolean createServiceFileAndUpdateSentEmpl(ServiceFileBean serviceFileBean,String parts); /** * 根据条件查询维修档案 * * @Title: search * @param @param key * @param @return * @return LoadOnGetList<SentEmployeeBean> 返回类型 */ public LoadOnGetList<SentEmployeeBean> search1(SelectServiceFilesKey key); /** * @Title: getDetail * @Description: 客户端专用详情接口,报修档案(type=1),维修档案(type=2) * @param @param map <guid,type> * @param @return 设定文件 * @return ServiceFileBean 返回类型 * @throws */ ServiceFileBean getDetail(Map<String,String> map); /** * 查询维修档案信息(客户端使用)(sortField被用于判断查询报修档案还是派工单,0.查询 1.不查询) * @Title: search * @param @param selectServiceFilesKey * @param @param repairsFileKey * @param @return * @return List<ServiceFileBean> 返回类型 */ public List<ServiceFileBean> search( SelectServiceFilesKey selectServiceFilesKey, SelectRepairsFileKey repairsFileKey); }