package com.muyu.fault.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.muyu.fault.domain.req.FaultCodeAddReq;
import com.muyu.fault.domain.req.FaultCodeListReq;
import com.muyu.fault.domain.req.FaultCodeUpdReq;
import com.muyu.fault.domain.resp.FaultCodeTotalListResp;
import com.muyu.fault.domain.vo.FaultCodeVo;

/**
 * @className: FaultCodeService  ️✈️
 * @author: Yang 鹏  🦅
 * @date: 2024/9/23 21:06 ⏰
 * @Version: 1.0
 * @description: 故障检测策略的接口
 */
public interface FaultCodeService extends IService<FaultCodeVo> {

    /**
     * 故障码展示
     * @param faultCodeListReq
     * @return
     */
    FaultCodeTotalListResp selectlist(FaultCodeListReq faultCodeListReq);

    /**
     * 故障码展示(故障码联查)
     * @param faultCodeListReq
     * @return
     */
    FaultCodeTotalListResp selectfaultcodelist(FaultCodeListReq faultCodeListReq);

    /**
     * 新增故障码
     * @param faultCodeAddReq
     * @return
     */
    void insert(FaultCodeAddReq faultCodeAddReq);


    /**
     * 修改故障码
     * @param faultCodeUpdReq
     * @return
     */
    void upd(FaultCodeUpdReq faultCodeUpdReq);


    /**
     * 删除故障码
     * @param messageTypeId
     * @return
     */
    void del(Integer messageTypeId);
}
