package org.jeecg.modules.lsw.mapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.jeecg.modules.lsw.entity.LswMaterialInventory;
|
|
import java.util.List;
|
|
/**
|
* @Description: 物料库存信息
|
* @Author: jeecg-boot
|
* @Date: 2025-06-30
|
* @Version: V1.0
|
*/
|
public interface LswMaterialInventoryMapper extends BaseMapper<LswMaterialInventory> {
|
|
/**
|
* 通过主表id删除子表数据
|
*
|
* @param mainId 主表id
|
* @return boolean
|
*/
|
public boolean deleteByMainId(@Param("mainId") String mainId);
|
|
/**
|
* 通过主表id查询子表数据
|
*
|
* @param mainId 主表id
|
* @return List<LswMaterialInventory>
|
*/
|
public List<LswMaterialInventory> selectByMainId(@Param("mainId") String mainId);
|
}
|