Bug #674: 住院签发长期医嘱时 conditionDefinitionId/pharmacologyCategoryCode/therapyEnum 为 null 导致 Collectors.groupingBy 抛出 NPE 'element cannot be mapped to a null key' 修复:对齐门诊版 PrescriptionUtils 的 null 处理逻辑 - getConditionDefinitionId null -> 默认 0L - getPharmacologyCategoryCode null -> 默认 '0' - getTherapyEnum null -> 默认 0 - generatePrescriptionNo null/空 -> 走普通处方号