v1.0.13
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user