package org.jeecg.modules.spare.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.jeecg.modules.spare.entity.SparePartReceiveDeatil;
|
import org.jeecg.modules.spare.vo.SparePartReceiveVo;
|
|
import java.util.List;
|
|
/**
|
* @Description: 备件领用申请明细
|
* @Author: jeecg-boot
|
* @Date: 2023-06-26
|
* @Version: V1.0
|
*/
|
public interface SparePartReceiveDeatilMapper extends BaseMapper<SparePartReceiveDeatil> {
|
|
/**
|
* 通过主表id删除子表数据
|
*
|
* @param mainId 主表id
|
* @return boolean
|
*/
|
public boolean deleteByMainId(@Param("mainId") String mainId);
|
|
/**
|
* 通过主表id查询子表数据
|
*
|
* @param mainId 主表id
|
* @return List<SparePartReceiveDeatil>
|
*/
|
public List<SparePartReceiveDeatil> selectByMainId(@Param("mainId") String mainId);
|
}
|