Procházet zdrojové kódy

【修改】在线缴费:缴费订单编号生成规则修改;

西昌分支
dyy před 3 měsíci
rodič
revize
e75e9ccd42
4 změnil soubory, kde provedl 61 přidání a 2 odebrání
  1. +6
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargeStuYearController.cs
  2. +24
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuOrder/FinaChargeStuOrderBLL.cs
  3. +7
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuOrder/FinaChargeStuOrderIBLL.cs
  4. +24
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuOrder/FinaChargeStuOrderService.cs

+ 6
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FinaChargeStuYearController.cs Zobrazit soubor

@@ -263,6 +263,12 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
FinaChargeStuYearEntity entity = strEntity.ToObject<FinaChargeStuYearEntity>();
List<FinaChargeStuOrderDetailEntity> list = detailList.ToObject<List<FinaChargeStuOrderDetailEntity>>();
var imgUrl = "";
Random ran = new Random();
string orderid = DateTime.Now.ToString("yyyyMMddHHmmssffffff") + ran.Next(0, 100000);
if (finaChargeStuOrderIbll.GetEntityByorderid(orderid) != null)
{
return Fail("请刷新页面重试!");
}

//访问学校财务服务器
string payresulturl = Config.GetValue("payresulturl");
@@ -283,11 +289,9 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers

try
{
Random ran = new Random();
string merchantid = "105000082201406";//商户号
string posid = "043724806";//商户柜台代码
string branchid = "510000000";//分行代码
string orderid = DateTime.Now.ToString("yyyyMMddhhmmss") + ran.Next(0, 100000);
string payment = entity.PayMoney.ToString();
string curcode = "01";
string txcode = "530550";


+ 24
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuOrder/FinaChargeStuOrderBLL.cs Zobrazit soubor

@@ -67,6 +67,30 @@ namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
}
}

/// <summary>
/// 获取FinaChargeStuOrder表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public FinaChargeStuOrderEntity GetEntityByorderid(string orderid)
{
try
{
return finaChargeStuOrderService.GetEntityByorderid(orderid);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

#endregion

#region 提交数据


+ 7
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuOrder/FinaChargeStuOrderIBLL.cs Zobrazit soubor

@@ -27,6 +27,13 @@ namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
/// <param name="keyValue">主键</param>
/// <returns></returns>
FinaChargeStuOrderEntity GetFinaChargeStuOrderEntity(string keyValue);

/// <summary>
/// 获取FinaChargeStuOrder表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
FinaChargeStuOrderEntity GetEntityByorderid(string orderid);
#endregion

#region 提交数据


+ 24
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/ReceiveSendFeeManagement/FinaChargeStuOrder/FinaChargeStuOrderService.cs Zobrazit soubor

@@ -138,6 +138,30 @@ namespace Learun.Application.TwoDevelopment.ReceiveSendFeeManagement
}
}

/// <summary>
/// 获取FinaChargeStuOrder表实体数据
/// </summary>
/// <param name="keyValue">主键</param>
/// <returns></returns>
public FinaChargeStuOrderEntity GetEntityByorderid(string orderid)
{
try
{
return this.BaseRepository("CollegeMIS").FindEntity<FinaChargeStuOrderEntity>(x => x.orderid == orderid);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

#endregion

#region 提交数据


Načítá se…
Zrušit
Uložit