From aff9aac26e1d8689f458a6cc74a580453ba347ef Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期一, 21 十一月 2022 15:19:45 +0800 Subject: [PATCH] 优化代码 --- web/web/GwOrder.ashx | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/web/web/GwOrder.ashx b/web/web/GwOrder.ashx index 6718de6..2289a51 100644 --- a/web/web/GwOrder.ashx +++ b/web/web/GwOrder.ashx @@ -316,7 +316,7 @@ Int64 basicNum = context.GetInt64("basicNum"); Int64 givingNum = context.GetInt64("givingNum"); string clientId = ""; - Int64 payAmount = 0; + Int64 payAmount = 0;//閲戦 Int64 tmpPayAmount = Math.Max((int) (context.GetDecimal("payAmount", new Decimal(4, 0, 0, false, (byte) 2)) * new Decimal(1000)), 0); payAmount = tmpPayAmount; //double price = context.GetDecimal(price); @@ -325,7 +325,7 @@ int status = context.GetInt("status"); //0-瀹℃牳涓嶉�氳繃锛�1-瀹℃牳閫氳繃 string auditReason = context.GetString("auditReason"); - if (status == 0 && string.IsNullOrEmpty(auditReason) ) + if (status == 0 && string.IsNullOrEmpty(auditReason)) { throw new ArgumentException("璇疯緭鍏ヤ笉閫氳繃鍘熷洜锛�"); } @@ -425,7 +425,6 @@ nextSort = nowSort + 1; //鑾峰彇瀹℃牳娴佺▼鐨勭涓�鐜妭娴佺▼浠g爜 nextFlowCode = getNextFlowCode(flowGroup, nextSort); - } } -- Gitblit v1.9.1