You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.5 KiB
C#

12 months ago
using DS.Module.Core;
using DS.Module.UserModule;
using DS.WMS.Core.System.Dtos;
using DS.WMS.Core.System.Entity;
using DS.WMS.Core.System.Interface;
using Microsoft.Extensions.DependencyInjection;
using SqlSugar;
namespace DS.WMS.Core.System.Method;
public class SysPrintService:ISysPrintService
{
private readonly IServiceProvider _serviceProvider;
private readonly ISqlSugarClient db;
private readonly IUser user;
private readonly ICommonService _commonService;
/// <summary>
///
/// </summary>
/// <param name="serviceProvider"></param>
public SysPrintService(IServiceProvider serviceProvider)
{
_serviceProvider = serviceProvider;
db = _serviceProvider.GetRequiredService<ISqlSugarClient>();
user = _serviceProvider.GetRequiredService<IUser>();
_commonService = _serviceProvider.GetRequiredService<ICommonService>();
}
public DataResult<List<SysPrint>> GetListByPage(PageRequest request)
{
throw new NotImplementedException();
}
public DataResult EditPrint(PrintInput model)
{
throw new NotImplementedException();
}
12 months ago
public DataResult<SysPrint> GetPrintInfo(long id)
12 months ago
{
throw new NotImplementedException();
}
public List<DbTableInfo> GetTables()
{
return db.DbMaintenance.GetTableInfoList();
}
public List<DbColumnInfo> GetColumns(string tableViewName)
{
return db.DbMaintenance.GetColumnInfosByTableName(tableViewName);
}
}