增加查询字段

This commit is contained in:
gongxh
2021-06-03 16:04:28 +08:00
parent 9eeda5bf94
commit e67eb1c845
9 changed files with 46 additions and 8 deletions

19
NX.ERP.U8/U8Pubufts.cs Normal file
View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dapper;
namespace NX.ERP.U8
{
public class U8Pubufts
{
public long GetPubufts()
{
string strSql = " select CONVERT(BIGINT,@@DBTS) ";
using (var conn=U8LoginContext.Instance.Connection)
{
return conn.ExecuteScalar<long>(strSql,null,null,30,System.Data.CommandType.Text);
}
}
}
}