protected virtual OrderPresSplitDTO[] GetOrPresDTOs(string id_en) { OrderPresSplitDTO[] tmpOrderPresSplitDTO = orderQryservice.getOrPresDTOs(id_en); foreach (OrderPresSplitDTO presSplitDto in tmpOrderPresSplitDTO) { if (presSplitDto.Fg_hp_pres.Equals("Y")) { presSplitDto.Name_fg_hp = "医保"; } else if (presSplitDto.Fg_hp_pres.Equals("N")) { presSplitDto.Name_fg_hp = "非医保"; } switch (presSplitDto.Sd_prestp) { case "00": presSplitDto.Name_prestp = "毒麻精一"; break; case "01": presSplitDto.Name_prestp = "毒麻精二"; break; case "02": presSplitDto.Name_prestp = "受控处方"; break; case "03": presSplitDto.Name_prestp = "儿科普通西药"; break; case "04": presSplitDto.Name_prestp = "儿科成药"; break; case "05": presSplitDto.Name_prestp = "急诊普通西药"; break; case "06": presSplitDto.Name_prestp = "急诊成药"; break; case "07": presSplitDto.Name_prestp = "草药"; break; case "08": presSplitDto.Name_prestp = "普通西药"; break; case "09": presSplitDto.Name_prestp = "成药"; break; } } return(tmpOrderPresSplitDTO); }