|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using SqlSugar; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
|
@ -6,19 +7,36 @@ using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
using TencentCloud.Dlc.V20210125.Models; |
|
|
|
using Volo.Abp.Application.Services; |
|
|
|
using Volo.Abp.Domain.Repositories; |
|
|
|
using Volo.Abp.Identity; |
|
|
|
|
|
|
|
namespace Shentun.Peis.DataMigrations |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 基础数据处理
|
|
|
|
/// </summary>
|
|
|
|
[Authorize] |
|
|
|
//[Authorize]
|
|
|
|
public class BaseDataHandleAppService : ApplicationService |
|
|
|
{ |
|
|
|
|
|
|
|
private readonly SqlSugarClient Db = new SqlSugarClient(new ConnectionConfig() |
|
|
|
{ |
|
|
|
ConnectionString = "4444444444444", |
|
|
|
DbType = DbType.PostgreSQL, |
|
|
|
IsAutoCloseConnection = true |
|
|
|
}); |
|
|
|
|
|
|
|
public BaseDataHandleAppService() |
|
|
|
{ |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void Dffff() |
|
|
|
{ |
|
|
|
|
|
|
|
var ddd = Db.Ado.GetDataTable("select * from ActivityLink"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |