AIMS/AIMSEntity/BLL/Extension/BFeesRecord.cs
2023-03-29 14:04:35 +08:00

29 lines
637 B
C#

using System;
using AIMSDAL;
using AIMSModel;
using AIMSObjectQuery;
using System.Collections;
using System.Collections.Generic;
using HelperDB;
namespace AIMSBLL
{
public partial class BFeesRecord
{
public static int GetOrderNum()
{
int num = 0;
string sql = "select max(Extend4) from FeesRecord";
string nums = DBHelper.ExecuteScalar(sql).ToString();
if (nums != null && nums != "")
num = int.Parse(nums);
if (num == 0)
num = 3520;
else
num++;
return num;
}
}
}