mcwl-ai/mcwl-resource/src/main/java/com/mcwl/resource/mapper/ModelMapper.java

40 lines
826 B
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.mcwl.resource.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mcwl.resource.domain.ModelProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @AuthorChenYan
* @ProjectMcWl
* @Packagecom.mcwl.resource.mapper
* @FilenameMallProductMapper
* @Description TODO
* @Date2024/12/30 18:23
*/
@Mapper
public interface ModelMapper extends BaseMapper<ModelProduct> {
Long sumNumber(@Param("userId") Long userId);
void updateModel(ModelProduct modelProduct);
Long sumLikeNumber(@Param("userId") Long userId);
Long sumRunNumber(Long userId);
void updateTopStatus(@Param("id") Long id, @Param("isTop") int i);
List<ModelProduct> selectAllModelsSortedByTopStatus();
}