package com.nasc.custom.mapper;

import com.nasc.custom.domain.NascMaterial;
import com.nasc.custom.domain.NascMaterialList;

import java.util.List;

/**
 * @Author: Yujianq
 * @Date: 2024/6/4 16:38
 * @Description: 材料内容清单列表表
 * @return:
 */
public interface NascMaterialListMapper {

    /**
     * @Author: Yujianq
     * @Date: 2024/6/5 11:03
     * @Description: 新增材料中材料清单信息
     * @param materialList
     * @return: int
     */
    public int insertMaterialList(NascMaterialList materialList);

    /**
     * @Author: Yujianq
     * @Date: 2024/6/5 16:38
     * @Description: 根据材料ID删除材料清单信息
     * @param materialId
     * @return: int
     */
    public int deleteMaterialListByMaterialId(Long materialId);
    
    /** 
     * @Author: Yujianq
     * @Date: 2024/6/13 15:52
     * @Description: 根据材料ID查询材料清单信息
     * @param materialId 
     * @return: java.util.List<com.nasc.custom.domain.NascMaterialList>
     */
    public List<NascMaterialList> getMaterialListByMaterialId(Long materialId);

}
