rwadurian/backend/services/planting-service/src/api
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
..
controllers fix(planting-service): 修复合同PDF签署日期显示为UTC时间的问题 2026-01-08 11:42:16 -08:00
dto feat(planting-service, admin-web): 实现认种趋势图表功能 2026-01-06 10:21:11 -08:00
guards refactor!: 重构账户序列号格式 (BREAKING CHANGE) 2025-12-12 09:11:18 -08:00
api.module.ts feat(planting-service): add global stats API for data verification 2026-01-04 06:55:08 -08:00
index.ts refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing 2025-12-05 08:11:28 -08:00