package com.ruoyi.project.sems.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.sems.domain.TMeasureThickness;
import com.ruoyi.project.sems.domain.TSpecdevCc;

/**
 * 定点测厚Service接口
 *
 * @author ruoyi
 * @date 2021-07-07
 */
public interface ITMeasureThicknessService extends IService<TMeasureThickness> {
    /**
     * 查询定点测厚
     *
     * @param id 定点测厚ID
     * @return 定点测厚
     */
    public TMeasureThickness selectTMeasureThicknessById(Long id);

    /**
     * 根据位号查询id
     *
     * @param tagNo    位号
     * @param position 测厚部位
     * @return
     */
    public Long selectByTagNo(String tagNo, String position);

    /**
     * 查询定点测厚列表
     *
     * @param tMeasureThickness 定点测厚
     * @return 定点测厚集合
     */
    public List<TMeasureThickness> selectTMeasureThicknessList(TMeasureThickness tMeasureThickness);

    /**
     * 新增定点测厚
     *
     * @param tMeasureThickness 定点测厚
     * @return 结果
     */
    public int insertTMeasureThickness(TMeasureThickness tMeasureThickness);

    /**
     * 修改定点测厚
     *
     * @param tMeasureThickness 定点测厚
     * @return 结果
     */
    public int updateTMeasureThickness(TMeasureThickness tMeasureThickness);

    /**
     * 批量删除定点测厚
     *
     * @param ids 需要删除的定点测厚ID
     * @return 结果
     */
    public int deleteTMeasureThicknessByIds(Long[] ids);

    /**
     * 删除定点测厚信息
     *
     * @param id 定点测厚ID
     * @return 结果
     */
    public int deleteTMeasureThicknessById(Long id);
}
