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;
///
///
///
///
public SysPrintService(IServiceProvider serviceProvider)
{
_serviceProvider = serviceProvider;
db = _serviceProvider.GetRequiredService();
user = _serviceProvider.GetRequiredService();
_commonService = _serviceProvider.GetRequiredService();
}
public DataResult> GetListByPage(PageRequest request)
{
throw new NotImplementedException();
}
public DataResult EditPrint(PrintInput model)
{
throw new NotImplementedException();
}
public DataResult GetPrintInfo(long id)
{
throw new NotImplementedException();
}
public List GetTables()
{
return db.DbMaintenance.GetTableInfoList();
}
public List GetColumns(string tableViewName)
{
return db.DbMaintenance.GetColumnInfosByTableName(tableViewName);
}
}