2019/10/9 对云端循环操作数据库的方法进行记录
1、云端方法:InAdvice.CheckAdviceBeforeOutHosipital,循环查询数据库。
2、云端方法:InAdvice.GetTempAdviceInfo,循环查询数据库。
3、云端方法:InAdvice.DoSaveAdviceTemp,循环操作数据库。
4、云端方法:InAdvice.DeleteTraceAuthInAdivceTemp,循环操作数据库。
5、云端方法:InAdvice.SetChangeRoomId,循环操作数据库。
6、云端方法:InAdvice.DeleteNotConfirmExecute,循环操作数据库。
7、云端方法:InAdvice.CheckCancel,循环查询数据。
8、云端方法:InAdvice.DoInDrugReqBack,(此方法内有多个独立循环操作需要优化)循环操作数据库。
9、云端方法:InAdvice.DoSaveCancelAdviceFee,循环删除数据库。
10、云端方法:InAdvice.SetChangeRoomId,循环查询数据库。
11、云端方法:InAdvice.DelInExecuteNew,循环删除数据库。
12、云端方法:InAdvice.GetItemAttach,循环查询数据库。
13、云端方法:InAdvice.CheckItemActiveNew,循环查询数据库。
14、云端方法:InAdvice.DoSaveAdviceCheck,循环删除数据库。
15、云端方法:InAdvice.CheckSpecialDrug,循环查询数据库。
16、云端方法:InChinRicipe.UpdateBackInChinDrugStoresAndFee,循环查询数据库。
17、云端方法:InChinRicipe.UpdateInChinRecipe,循环操作数据库。
18、云端方法:InChinRicipe.DoSaveInChinRecipeApply,循环操作数据库。
19、云端方法:InChinRicipe.GetInChinRecipeByPatId,循环操作数据库。
20、云端方法:InChinRicipe.DoSendDrugRecipeApply,循环操作数据库。
21、云端方法:GetChargeInfoByInvoNo,循环访问数据库。
修改后:
22、云端方法:InExecute.GetIVGTTPrintIList,循环操作数据库。
23、云端方法:InExecute.GetUspInExecuteBillPrint,循环操作数据库。
24、云端方法:GetCalculateChargeClassList,循环操作数据库。
修改后:
25、云端方法:InExecute.GetPrintBottleLabelData,循环操作数据库。
26、云端方法:InExecute.GetAdviceFee,循环操作数据库。
27、云端方法:InExecute.GetInExecuteNurseMemoList,循环操作数据库。
28、云端方法:InExecute.CheckSpecimenIsCancel,循环操作数据库。
29、云端方法:OuAdviceDrug.DoSaveCheckDtlList,循环操作数据库。
30、云端方法:OuAdviceDrug.UpdateOuRecipeIssueStatus,循环操作数据库。
31、云端方法:OuAdviceDrug.AddDeductingTheInventory,循环操作数据库。
32、云端方法:OuAdviceDrug.SetRmOutDtl,不需要new服务,只用公共服务,循环操作数据库。
33、云端方法:OuAdviceDrug.AddReduceStore,循环操作数据库。 (不能修改)
34、云服务方法:GetOuInvoiceInfomationList 写了一大堆却没有用上。
修改后:
35、云服务方法:GetExceLocNameList 查找所有数据。
修改后:
36、云服务方法:GetOuBloodStationString 。
修改后:
37、云端方法:OuAdvice.AddOuRecipeDtlSpecimenSource,循环查询数据库。
38、云端方法:OuAdvice.DoSaveChinRecipeDtl,循环请求数据库。
39、云端方法:OuAdvice.DoSaveAllRecipe,(图中没有截到的地方也有循环的问题)循环请求数据库。
40、云端方法:OuAdvice.DeleteOuInvoiceDtlAndReicipeDtl,循环请求数据库。
41、云端方法:OuAdvice.DoSaveNewOuRecipe,循环请求数据库。
42、云端方法:OuAdvice.PrintPrescription,循环请求数据库。
43、云端方法:OuAdvice.DeleteRecipeDtl,循环请求数据库。
44、云端方法:OuAdvice.GetCustomTreeDto,循环请求数据库。
45、云端方法:OuAdvice.GetOuRecipeDtlByRecipeIds,方法体底部,循环结果集合添加到新创建的集合返回,直接返回不就行了吗!!
46、云端方法:OuAdvice.GetOuRecipeDtlCountList,循环请求数据库。
47、云端方法:OuAdvice.DoSaveReicipeDtlFromChgAttachItem,循环请求数据库,去掉注释的代码。
48、云端方法:OuAdvice.DoSaveSelfDrugFromCharge,循环请求数据库。
49、云端方法:OuAdvice.DoSaveCheckOuRecipe,循环请求数据库。
50、云端方法:OuAdvice.GetAdviceExecDetailList,循环请求数据库,局部变量命名不规范,魔法数硬编码。
51、云端方法:OuAdvice.DoSaveReicipeData,循环请求数据库。
51、云端方法:OuAdvice.DoSaveClincDiagTmplates,循环请求数据库。
51、云端方法:OuExecute.SetBackedStatus,循环请求数据库。
52、云端方法:OuExecute.DoExecuted,循环请求数据库。
53、云端方法:OuExecute.DoSaveChangesToAdviceList,循环请求数据库。
54、云端方法:OuExecute.CheckOuExecute,循环请求数据库,入参命名不规范。
55、云端方法:OuExecute.GetReCallPat,循环请求数据库。
56、云端方法:GetPayWayString 。
修改后:
57、云端方法:OuExecute.GetLabSourceItem,循环请求数据库。
58、云端方法:OuRecipeDtlPrint.GetRecipeByLsRpType,循环请求数据库。
59、云服务方法:GetOuExecRmRoomId。
修改后:
60、云服务方法:GetIssueRoomIdInfo 此方法有疑问,只是需要获取发布药房ID,却传个集合过来。