src/main/java/com/zy/crm/manager/mapper/CstmrTypeMapper.java
@@ -3,10 +3,13 @@ import com.zy.crm.manager.entity.CstmrType; import com.baomidou.mybatisplus.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @Mapper @Repository public interface CstmrTypeMapper extends BaseMapper<CstmrType> { CstmrType selectByName(@Param("hostId") Long hostId, @Param("name") String name); }