| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å·¥èµç»ç®å(个人) æ¹éå®¡æ ¸ |
| | | /// <summary> |
| | | /// å®¡æ ¸/åå®¡æ ¸å·¥èµç»ç®å(个人) |
| | | /// </summary> |
| | | /// <param name="HInterID">忮ID</param> |
| | | /// <param name="Type">å®¡æ ¸(1),åå®¡æ ¸(2)</param> |
| | | /// <param name="HMaker">å®¡æ ¸äºº</param> |
| | | /// <returns></returns> |
| | | [Route("Pay_SingleBalBillController/CheckAll")] |
| | | [HttpGet] |
| | | public object CheckAll(string ids, int Type, string HMaker) |
| | | { |
| | | try |
| | | { |
| | | //å¤çå符串 |
| | | if (!string.IsNullOrEmpty(ids)) |
| | | { |
| | | long[] idArray = Array.ConvertAll(ids.Split(','), long.Parse); |
| | | // å¤çidArray... |
| | | oCn.BeginTran(); |
| | | for (int i = 0; i < idArray.Length; i++) |
| | | { |
| | | objJsonResult = (json)GetPay_SingleBalBill_Check_Json(idArray[i], Type, HMaker);//å®¡æ ¸æ§è¡ |
| | | if (objJsonResult.count == 0) |
| | | { |
| | | oCn.RollBack(); |
| | | objJsonResult.Message += "第" + (i + 1) + "è¡åºç°é®é¢æ æ³ç»§ç»å®æ"; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | oCn.Commit(); |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "è¯·éæ©æ£ç¡®è¡"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | objJsonResult.code = CodeConstant.SUCCEED; |
| | | objJsonResult.count = CountConstant.SUCCEED; |
| | | objJsonResult.Message = "æ§è¡æåï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCn.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å®¡æ ¸æåå®¡æ ¸å·¥èµç»ç®å(个人)失败ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å·¥èµç»ç®å(个人) å
³é/åå
³é |
| | | /// <summary> |
| | | /// å
³é/åå
³éå·¥èµç»ç®å(个人) |