package com.jcdm.main.bs.technologyRouteChild.mapper; import java.util.List; import com.jcdm.main.bs.domain.BsTechnologyRouteChildInfo; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; /** * 工艺路线子信息Mapper接口 * * @author ruimin * @date 2023-12-09 */ public interface BsTechnologyRouteChildInfoMapper { /** * 查询工艺路线子信息 * * @param id 工艺路线子信息主键 * @return 工艺路线子信息 */ public BsTechnologyRouteChildInfo selectBsTechnologyRouteChildInfoById(Long id); /** * 查询工艺路线子信息列表 * * @param bsTechnologyRouteChildInfo 工艺路线子信息 * @return 工艺路线子信息集合 */ public List selectBsTechnologyRouteChildInfoList(BsTechnologyRouteChildInfo bsTechnologyRouteChildInfo); /** * 新增工艺路线子信息 * * @param bsTechnologyRouteChildInfo 工艺路线子信息 * @return 结果 */ public int insertBsTechnologyRouteChildInfo(BsTechnologyRouteChildInfo bsTechnologyRouteChildInfo); /** * 修改工艺路线子信息 * * @param bsTechnologyRouteChildInfo 工艺路线子信息 * @return 结果 */ public int updateBsTechnologyRouteChildInfo(BsTechnologyRouteChildInfo bsTechnologyRouteChildInfo); public int updateBsTechnologyRouteChildByCodeInfo(BsTechnologyRouteChildInfo bsTechnologyRouteChildInfo); /** * 删除工艺路线子信息 * * @param id 工艺路线子信息主键 * @return 结果 */ public int deleteBsTechnologyRouteChildInfoById(Long id); /** * 批量删除工艺路线子信息 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deleteBsTechnologyRouteChildInfoByIds(Long[] ids); public List selectAllTechnologyRouteByProductCode(@Param("productCode") String productCode); }