package com.thhy.engineering.modules.biz.mould.mapper; import com.thhy.engineering.modules.biz.mould.entity.Mould; import com.thhy.engineering.modules.biz.mould.entity.MouldListVo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Component; import java.io.Serializable; import java.util.List; /** * Mapper 接口 * @author zhang_xiao_bo * @since 2023-04-11 16:33:56 */ @Component public interface MouldMapper { Mould queryById(Serializable mouldId); Integer queryVersionById(Serializable mouldId); List findList(Mould mould); List findAll(); void insert(Mould mould); void update(Mould mould); void deletelogic(Serializable mouldId); void deleteById(Serializable mouldId); List queryModIdByNum(String mouldNum); String queryMaxModNum(@Param("proId") String proId,@Param("mouldCode") String mouldCode,@Param("mouldType") String mouldType); String queryBlockNum(String dictId); String queryProNameByProId(String proId); }