rwadurian/backend/services/planting-service/src
hailin 51114f265d fix(planting-service): 修复合同PDF签署日期显示为UTC时间的问题
合同生成时使用 new Date().toISOString().split('T')[0] 获取日期,
该方法返回UTC时间,导致北京时间凌晨签署的合同显示为前一天日期。

修复方案:新增 getBeijingDateString() 函数,将UTC时间转换为北京时间(UTC+8)

影响范围:仅影响PDF合同上显示的签署日期,不影响数据库时间戳或业务逻辑

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 11:42:16 -08:00
..
api fix(planting-service): 修复合同PDF签署日期显示为UTC时间的问题 2026-01-08 11:42:16 -08:00
application feat(planting-service, admin-web): 实现认种趋势图表功能 2026-01-06 10:21:11 -08:00
config refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing 2025-12-05 08:11:28 -08:00
domain feat(planting-service, admin-web): 实现认种趋势图表功能 2026-01-06 10:21:11 -08:00
infrastructure fix(planting-service): 修复趋势数据查询表名错误 2026-01-06 10:26:36 -08:00
shared refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing 2025-12-05 08:11:28 -08:00
app.module.ts refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing 2025-12-05 08:11:28 -08:00
main.ts feat(contract): 增强合同生成功能 2025-12-25 05:35:40 -08:00