|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
using Admin.Core.Common;
|
|
|
|
|
using Admin.Core.Model;
|
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
using NPOI.SS.Formula.Functions;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
@ -67,7 +69,9 @@ namespace Admin.Core.Extensions
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
return new SqlSugarClient(listConfig);
|
|
|
|
|
SqlSugarClient client = new SqlSugarClient(listConfig);
|
|
|
|
|
// var childA = client.GetConnection("aucma_mes").Ado.SqlQuery<BaseBomInfo>("select * from BASE_BOMINFO where OBJ_ID='1'");
|
|
|
|
|
return client;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|