package com.chinaztt.mes.plan.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.chinaztt.mes.plan.dto.MoTestStandardParamDTO;
|
import com.chinaztt.mes.plan.entity.MoTestStandardParam;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* 制造订单-检测标准参数
|
*
|
* @author cxf
|
* @date 2021-04-27 13:27:40
|
*/
|
@Mapper
|
public interface MoTestStandardParamMapper extends BaseMapper<MoTestStandardParam> {
|
|
/**
|
* 还原删除的数据
|
*
|
* @param id
|
* @return
|
*/
|
int activeById(Long id);
|
|
/**
|
* 根据检测标准id查询检测规则项
|
*
|
* @param id
|
* @return
|
*/
|
List<MoTestStandardParamDTO> getTestStandardParam(@Param("id") Long id);
|
|
/**
|
* 根据moId删除检测标准子表
|
*
|
* @param moId
|
*/
|
void delByMoId(Long moId);
|
}
|