chore(config): Make Nacos namespace configurable
- Replace hardcoded public namespace with NACOS_NAMESPACE - Document nacos init container troubleshooting for 1Panel deploy
This commit is contained in:
@@ -48,16 +48,16 @@
|
||||
video_id as videoId,
|
||||
SUM(
|
||||
CASE
|
||||
<foreach collection="weights.entrySet()" item="entry">
|
||||
WHEN behavior_type = #{entry.key} THEN behavior_weight * #{entry.value}
|
||||
<foreach collection="weights" index="behaviorType" item="weight">
|
||||
WHEN behavior_type = #{behaviorType} THEN behavior_weight * #{weight}
|
||||
</foreach>
|
||||
ELSE behavior_weight
|
||||
END
|
||||
) as score
|
||||
FROM recommend_user_behavior
|
||||
WHERE
|
||||
WHERE 1 = 1
|
||||
<if test="startTime != null">
|
||||
create_time >= #{startTime}
|
||||
AND create_time >= #{startTime}
|
||||
</if>
|
||||
<if test="behaviorTypes != null and behaviorTypes.size > 0">
|
||||
AND behavior_type IN
|
||||
@@ -69,4 +69,4 @@
|
||||
ORDER BY score DESC
|
||||
LIMIT #{limit}
|
||||
</select>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user