v1.0.13
CI / build-deploy (pull_request) Successful in 21s
CI / notify-on-failure (pull_request) Skipped

This commit is contained in:
Timi
2026-08-13 17:52:03 +08:00
parent 348f7396a1
commit 36e2a37af2
14 changed files with 310 additions and 6 deletions
@@ -18,4 +18,18 @@
</if>
AND `deleted_at` IS NULL
</select>
<select id="selectByOwnerAndZhCN" resultType="com.imyeyu.api.modules.common.entity.Tag">
SELECT
`t`.*
FROM `tag` `t`
INNER JOIN `multilingual` `m`
ON `m`.`id` = `t`.`name_lang_id`
AND `m`.`deleted_at` IS NULL
WHERE
`t`.`owner_type` = #{ownerType}
AND `t`.`owner_id` = #{ownerId}
AND `m`.`zh_cn` = #{zhCN}
AND `t`.`deleted_at` IS NULL
LIMIT 1
</select>
</mapper>