123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233 |
- package com.iamberry.rst.faces.fm;
- import com.iamberry.rst.core.fm.*;
- import com.iamberry.rst.core.page.PageRequest;
- import com.iamberry.rst.core.page.PagedResult;
- import com.iamberry.rst.core.sys.Admin;
- import java.util.List;
- /**
- * 客诉-品质检测产品service
- */
- public interface ComplaintDetectInfoService {
- /**
- * 查询单个品质检测产品
- * @return
- */
- ComplaintDetectInfo getDetectById(Integer detectId);
- /**
- * 修改单个待品质检测产品
- * @return
- */
- int updateDetectById(ComplaintDetectInfo record);
- /**
- * 修改单个待品质检测产品qc检测记录
- * @return
- */
- int updateDetectQc(ComplaintDetectInfo record);
- /**
- * 修改单个待维修内容
- * @return
- */
- int updateDetectContent(ComplaintDetectInfo record);
- /**
- * 修改单个待品质检测产品并添加图片
- * @return
- */
- int updateDetectById(ComplaintDetectInfo record,String[] imgs);
- /**
- * 获取品质检测列表
- * @return
- */
- PagedResult<ComplaintDetectInfo> listComplaintDetect(PageRequest<ComplaintDetectInfo> pageRequest);
- /**
- * 添加品检项
- * @return
- */
- int insert(ComplaintDetectInfo complaintDetectInfo);
- /**
- * 删除品检项
- * @return
- */
- int deleteDetect(Integer detectId);
- /**
- * 查询检测内容
- * @return
- */
- List<DetectionBasis> listDetectionBasis(DetectionBasis detectionBasis);
- /**
- * 添加检测图片
- * @return
- */
- int addDetectImg(ComplaintDetectImg complaintDetectImg);
- /**
- * 获取品质检测列表
- * @return
- */
- List<ComplaintDetectInfo> listComplaintDetect(ComplaintDetectInfo detectInfo);
- /**
- * 客服确认处理方式
- * @return
- */
- boolean customerConfirm(ComplaintDetectInfo detectInfo,Admin admin);
- /**
- * 业务员确认处理方式
- * @return
- */
- boolean salesmanConfirm(ComplaintDetectInfo detectInfo);
- /**
- * 查询检测图片
- * @return
- */
- List<ComplaintDetectImg> listDetectImg(Integer detectId);
- /**
- * 查询当前月份维修数量
- * @return
- */
- Integer getDetectNum();
- /**
- * 查询物料代码
- * @return
- */
- List<MaterialNumberInfo> listMaterialNumber();
- /**
- * 查询维修配置
- * @return
- */
- List<DetectionConfig> listDetectionConfig(Integer configType);
- /**
- * 查询单个维修配置
- * @return
- */
- DetectionConfig getDetectionConfig(Integer configId);
- /**
- * 添加检测信息项
- * @return
- */
- Integer insertItem(DetectionItem detectionItem);
- /**
- * 查询检测项
- * @return
- */
- List<DetectionItem> listDetectionItem(DetectionItem detectionItem);
- /**
- * 删除检测项
- * @return
- */
- Integer detectDetectionItem(Integer detectId);
- /**
- * 查询维修配件
- * @return
- */
- MaterialNumberInfo getMaterialNumber(Integer materialId);
- /**
- * 添加维修配件记录
- * @return
- */
- Integer addMaterialItem(MaterialItem materialItem);
- /**
- * 查询维修配件记录
- * @return
- */
- List<MaterialItem> listMaterialItem(Integer detectId);
- /**
- * 删除维修配件记录
- * @return
- */
- Integer detectMaterialItem(Integer detectId);
- /**
- * 添加qc检测记录
- * @return
- */
- Integer addQcInfo(QcInfo qcInfo);
- /**
- * 查询qc检测记录
- * @return
- */
- List<QcInfo> listQcInfo(Integer detectId);
- /**
- * 添加客诉售后处理修改记录
- * @return
- */
- Integer addTreatmentRecordLog(TreatmentRecordLog treatmentRecordLog);
- /**
- * 查询客诉售后处理修改记录
- * @return
- */
- List<TreatmentRecordLog> listTreatmentRecordLog(Integer detectId);
- /**
- * 查询检测数量
- * @return
- */
- ComplaintAfterSalesNum getCustomerDetectNum(ComplaintDetectInfo detect);
- /**
- * 修改打印状态
- * @return
- */
- Integer updatePrint(ComplaintDetectInfo detectInfo);
- /**
- * 已完成维修、原机退货,并且发货状态为待下单的维修记录,则需要查询当前客诉对应的维修机器
- * @return
- */
- List<ComplaintDetectInfo> listDetectByCustomerId(Integer customerId);
- /**
- * 查询订单关联的维修
- * @return
- */
- List<ComplaintDetectInfo> listComplaintDetectBySalesId(String detectSalesId);
- /**
- * 查询各状态条数
- * @return
- */
- ComplaintAfterSalesNum getDetectCount();
- /**
- * 检测超时查询
- * @return
- */
- List<ComplaintDetectInfo> listMaintenanceCutNotice();
- /**
- * 维修超时查询
- * @return
- */
- List<ComplaintDetectInfo> listCompleteCutNotice();
- /**
- * 完善客户信息
- * @return
- */
- Integer perfectDetect(ComplaintDetectInfo detectInfo);
- /**
- * 添加维修基础信息
- * @return
- */
- Integer addConfig(DetectionConfig detectionConfig);
- /**
- * 添加维修维修配件基础信息
- * @return
- */
- Integer addMaterial(MaterialNumberInfo materialNumberInfo);
- }
|