在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
List<JZJLXQ_Prescription_Item> ciList = new List<JZJLXQ_Prescription_Item>(); List<JZJLXQ_Prescription_Item> tempItemList = new List<JZJLXQ_Prescription_Item>(); if (cfxxModel != null && cfxxModel.content != null && cfxxModel.content.prescriptionItems != null) { foreach (JZJLXQ_Prescription_Item reply in cfxxModel.content.prescriptionItems.list.item) { ciList.Add(reply); tempItemList.Add(reply); } } List<JZJLXQ_Prescription_Item> cfItemList = new List<JZJLXQ_Prescription_Item>(); foreach (JZJLXQ_Prescription_Item cfItem in ciList) { for (int i = 0; i < tempItemList.Count; i++) { JZJLXQ_Prescription_Item itemTemp = (JZJLXQ_Prescription_Item)tempItemList[i]; if (cfItem.YPZH.Equals(itemTemp.YPZH)) { cfItemList.Add(itemTemp); tempItemList.RemoveAt(i); i--; } } } cfItemList 为最终排序结果
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论