20 lines
475 B
C#
20 lines
475 B
C#
|
|
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);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|