fix(content): 短剧保存时始终同步分集价格

This commit is contained in:
Vicky committed 2026-10-21 22:48:09 +08:00
1 parent 8bb7f63c62
commit 9adf8c5630
4 files changed
+52 -15

No files matched your search

+15
View File
@@ -24633,3 +24633,18 @@ $ git push origin develop
```
解读:作者 Zhou Weidong;无 Co-authored-by / AI 痕迹;develop 与 feature 均已 push。未启动/重启 8080/8081。停住等验收。
---
## 2026-10-21 短剧保存始终同步分集价格
计划:`docs/plans/2026-10-21-drama-price-sync-idempotent.md`。
同值重存也调用 `EpisodePriceSync.syncByDramaRule(drama)`,只更新有差异的分集。
```
$ mvn -pl fruitshorts-module-content -am test -Dtest=DramaServiceTest -Dsurefire.failIfNoSpecifiedTests=false
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.184 s -- in com.fruitshorts.content.service.DramaServiceTest
[INFO] BUILD SUCCESS
```
解读:新增「规则未变但分集漂移」用例;原「已对齐则不写库」仍通过,但会查询分集。