37 lines
808 B
C#
37 lines
808 B
C#
using CRM.Core.DAL.Base;
|
|
using System;
|
|
|
|
namespace CRM.Core.BLL.Base
|
|
{
|
|
public class SEQUENCES_BL
|
|
{
|
|
/// <summary>
|
|
/// 普通id获取
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public long Seq_get()
|
|
{
|
|
return new SEQUENCES_DAL().Seq_get("empno");
|
|
}
|
|
|
|
/// <summary>
|
|
/// 订单ID获取
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public long Seq_order_get()
|
|
{
|
|
return new SEQUENCES_DAL().Seq_get("order");
|
|
}
|
|
|
|
public long Seq_OrderRefund()
|
|
{
|
|
return new SEQUENCES_DAL().Seq_get("orderrefund");
|
|
}
|
|
|
|
public int Seq_OrderDeposit()
|
|
{
|
|
return Convert.ToInt32(new SEQUENCES_DAL().Seq_get("orderdeposti"));
|
|
}
|
|
}
|
|
}
|