Commit Graph

3071 Commits

Author SHA1 Message Date
e1709ef719 docs: add LangChain practices - AI review pipeline and tiered support 2026-05-28 14:45:03 +08:00
2b915f3246 docs: 补充失败原因分布分析和本项目度量体系 2026-05-28 14:44:38 +08:00
6038d61674 docs: 补充四大技能路线图(本项目进度)和检查点策略 2026-05-28 14:43:37 +08:00
d2b71041d8 docs: 补充OpenAI实验基准数据、分层信任和渐进授权模式 2026-05-28 14:43:14 +08:00
acbab07616 docs: 补充控制平面适配版(幂等性/优雅降级/串行执行) 2026-05-28 14:41:13 +08:00
dfd5c69601 docs: 补充闭环测试金字塔和质量门禁(本项目适配版) 2026-05-28 14:40:14 +08:00
b02c10de15 docs: 补充环境设计原则和监控指标体系 2026-05-28 14:39:19 +08:00
1a16dcaab3 docs: 补充约束四层模型、反馈三层结构和常见陷阱表 2026-05-28 14:38:50 +08:00
ba766dd280 docs: 补充范式对比(五大维度)和企业落地路径 2026-05-28 14:37:26 +08:00
bda4b398c6 docs: 补充第四支柱(持久执行)和思维模式转变 2026-05-28 14:35:14 +08:00
37ea3b1b45 docs: 补充范式定位(三次跃迁)和Meta-Harness未来方向 2026-05-28 14:34:14 +08:00
b746b55a1f docs: 补充Harness Engineering完整方法论(三大支柱、设计原则、人机协作边界、 2026-05-28 14:32:34 +08:00
7251c79b9c docs: 补充全链路修复原则到AGENTS.md 2026-05-28 12:20:47 +08:00
6729a5c6b0 fix: Bug #597 - 住院医嘱保存时补充备注字段(AdviceManageAppServiceImpl.handService) 2026-05-28 12:20:10 +08:00
2e267b4353 feat: Bug #597 - 新增医嘱弹窗添加备注字段 + 查询返回remark 2026-05-28 11:24:59 +08:00
fbdcd815bd feat: Bug #597 - 住院医嘱增加备注字段 2026-05-28 11:00:41 +08:00
83d2e98b2b Fix Bug #612: fallback修复 2026-05-28 10:58:04 +08:00
3b83d3aa8d fix: Bug #609 - 出院申请 pricingFlag 参数导致查询为空
Root Cause: saveLeaveHospitalOrders() 调用 getAdviceBaseInfo 时
传入 pricingFlag = Whether.NO.getValue() = 0,但数据库里
'出院'诊疗定义的 pricing_flag = 1。SQL 过滤条件
AND (pricing_flag = 0 OR pricing_flag IS NULL) 排除了出院子项。

Fix: 将 pricingFlag 改为 null,不设定价过滤条件。
2026-05-28 10:32:49 +08:00
813617a837 fix: Bug #609 - 出院申请 Index:0 IndexOutOfBoundsException
Root Cause: SpecialAdviceAppServiceImpl.saveLeaveHospitalOrders()
在第 436 行调用 .getRecords().get(0) 时,如果 getAdviceBaseInfo
返回空列表,会抛出 IndexOutOfBoundsException。

Fix:
1. 用 CollectionUtils.isEmpty() 判空,空时返回友好错误提示
2. 修复 endTime = endTime 的无操作逻辑,改为默认当前时间
2026-05-28 09:55:26 +08:00
913a971ce4 revert: restore develop to clean baseline 5132de36 (remove all AI changes) 2026-05-28 09:43:49 +08:00
bdec44d6c5 checkpoint: partial fixes 2026-05-27 23:18:49 +08:00
207e74508c Fix Bug #603: AI修复 2026-05-27 11:16:13 +08:00
4a505a8c2d Fix Bug #601: fallback修复 2026-05-27 10:35:41 +08:00
7bdcbad284 Fix Bug #601: fallback修复 2026-05-27 10:32:12 +08:00
b0f7b301f9 fix: comprehensive stub fixes for compilation - add missing fields, methods, service interfaces
- Add missing entity fields (withdrawTime, withdrawBy, visitNo, patientName, bookedNum, execStatus, etc.)
- Add missing mapper methods (selectByPrimaryKey, selectByOrderId, updateById, etc.)
- Fix R.java to be generic with ok() method
- Fix PageResult with proper getters/setters
- Add missing service interfaces in all web modules
- Fix QueueQueryDto type mismatch
- Fix OrderServiceImpl to use String constants directly
- Fix OutpatientRegistrationServiceImpl int/String status
- Fix OrderVerificationServiceImpl import and interface
- Add AdmScheduleSlot entity, fix mappers
2026-05-27 10:17:06 +08:00
b4de4d32de fix: 8 remaining compilation errors 2026-05-27 09:59:55 +08:00
05c0be2269 fix: batch add 53 remaining stub classes for compilation 2026-05-27 09:57:30 +08:00
17d23ccd68 fix: add SchedulePool and ScheduleSlot entity stubs 2026-05-27 09:42:56 +08:00
2661ef48c0 fix: batch add missing service/mapper/entity/constant stubs for AI-generated code 2026-05-27 09:42:34 +08:00
ad7beaf349 fix: correct OrderController package typo (com.openhs -> com.openhis) 2026-05-27 09:31:49 +08:00
2efd3e5458 fix: add missing entity classes and exception for AI-generated code
Add 13 entity classes + 7 DTOs + BusinessException in
com.openhis.application.domain.entity package to resolve compilation errors.
These classes were referenced by AI-generated controllers/services
but never existed in the codebase.
2026-05-27 09:30:53 +08:00
9cdee5dedb test: trigger webhook v2 2026-05-27 09:17:43 +08:00
11bfa06529 test: webhook trigger 2026-05-27 09:16:01 +08:00
15adcfdfac fix: remove AI-hallucinated package directories
- openhs (missing 'i' typo)
- openhi​s (zero-width space character)
2026-05-27 09:14:40 +08:00
42a95ad7a8 test: trigger CI webhook 2026-05-27 09:13:15 +08:00
099989e6db chore: add integrity monitoring script 2026-05-27 09:06:33 +08:00
30461d7577 chore: add pre-push hook and AGENTS.md protection rules
- .githooks/pre-push: 防误删保护钩子(受保护路径、大量删除、pom.xml 保护、比例检查)
- AGENTS.md: 添加安全铁律章节,标注受保护路径和提交规范

Install: git config core.hooksPath .githooks
2026-05-27 09:05:48 +08:00
5b2b9d0721 Fix Bug #576: AI修复 2026-05-27 08:59:51 +08:00
9db5ced4e3 Revert "Fix Bug #550: AI修复"
This reverts commit 16c42ca108.
2026-05-27 08:59:07 +08:00
bd14563691 Fix Bug #576: AI修复 2026-05-27 08:57:42 +08:00
2392689f6c Fix Bug #584: fallback修复 2026-05-27 08:57:37 +08:00
883514ff1c Fix Bug #573: AI修复 2026-05-27 08:55:45 +08:00
31aac00918 Fix Bug #573: fallback修复 2026-05-27 08:55:18 +08:00
57fb8dcbbf Fix Bug #574: fallback修复 2026-05-27 08:54:30 +08:00
e4193fe5a7 Fix Bug #595: AI修复 2026-05-27 08:54:00 +08:00
46b0297cfb Fix Bug #577: AI修复 2026-05-27 08:52:50 +08:00
37b3d2e6a7 Fix Bug #575: AI修复 2026-05-27 08:51:53 +08:00
a550cbdf17 Fix Bug #571: fallback修复 2026-05-27 08:50:40 +08:00
740dde3693 Fix Bug #577: AI修复 2026-05-27 08:50:35 +08:00
c2389cdca5 Fix Bug #574: fallback修复 2026-05-27 08:49:29 +08:00