fix(service): 修复 themeStyle=9999 时查询逻辑缺失

This commit is contained in:
2025-12-09 19:50:39 +08:00
parent bdb4f009d0
commit 1d258ce5ee
4 changed files with 36 additions and 6 deletions

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yolo.keyborad.mapper.KeyboardThemesMapper">
<resultMap id="BaseResultMap" type="com.yolo.keyborad.model.entity.KeyboardThemes">
<!--@mbg.generated-->
<!--@Table keyboard_themes-->
<id column="id" jdbcType="BIGINT" property="id" />
<result column="theme_name" jdbcType="VARCHAR" property="themeName" />
<result column="theme_price" jdbcType="NUMERIC" property="themePrice" />
<result column="theme_tag" jdbcType="VARCHAR" property="themeTag" />
<result column="theme_download" jdbcType="VARCHAR" property="themeDownload" />
<result column="theme_style" jdbcType="BIGINT" property="themeStyle" />
<result column="theme_status" jdbcType="BOOLEAN" property="themeStatus" />
<result column="theme_purchases_number" jdbcType="BIGINT" property="themePurchasesNumber" />
<result column="deleted" jdbcType="BOOLEAN" property="deleted" />
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
<result column="theme_preview_image_url" jdbcType="VARCHAR" property="themePreviewImageUrl" />
<result column="is_free" jdbcType="BOOLEAN" property="isFree" />
<result column="theme_download_url" jdbcType="VARCHAR" property="themeDownloadUrl" />
<result column="sort" jdbcType="INTEGER" property="sort" />
<result column="real_download_count" jdbcType="BIGINT" property="realDownloadCount" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, theme_name, theme_price, theme_tag, theme_download, theme_style, theme_status,
theme_purchases_number, deleted, created_at, updated_at, theme_preview_image_url,
is_free, theme_download_url, sort, real_download_count
</sql>
</mapper>