1
This commit is contained in:
parent
fb6ae3b00c
commit
40adfd193a
@ -1529,11 +1529,8 @@ namespace APT.SK.WebApi.Controllers
|
||||
public JsonActionResult<IEnumerable<T_SK_BASIC_LIBRARY>> JTOrderEntities([FromBody] KeywordFilter filter)
|
||||
{
|
||||
var result = new JsonActionResult<IEnumerable<T_SK_BASIC_LIBRARY>>();
|
||||
//string strConn = OPTenantDBConnService.GetConnByORGID(new Guid(FilePathHead.JY.GetDescription()));
|
||||
string strConn = "Server=124.117.209.78;Database=mh_jy_head;uid=sa;pwd=JySafe@2025*;";
|
||||
//string dbName = "mh_jy_head";
|
||||
//// 2. 传入构造函数
|
||||
//using var strConn = new CrossDbContext(strConn);
|
||||
string strConn = OPTenantDBConnService.GetConnByORGID(new Guid(FilePathHead.JY.GetDescription()));
|
||||
//string strConn = "Server=124.117.209.78;Database=mh_jy_head;uid=sa;pwd=JySafe@2025*;";
|
||||
using (var context = new MigrationContext(strConn))
|
||||
{
|
||||
Expression<Func<T_SK_BASIC_LIBRARY, bool>> expression = e => !e.IS_DELETED;
|
||||
@ -2372,8 +2369,8 @@ namespace APT.SK.WebApi.Controllers
|
||||
var jtcheckContLaws = new List<T_LR_LAW>();
|
||||
var jtcheckContBas = new List<T_SK_CHECK_CONTENTS_BASIC>();
|
||||
var jtCheckContHids = new List<T_SK_CHECK_QUESTION>();
|
||||
//string strConn = OPTenantDBConnService.GetConnByORGID(new Guid(FilePathHead.JY.GetDescription()));
|
||||
string strConn = "Server=124.117.209.78;Database=mh_jy_head;uid=sa;pwd=JySafe@2025*;";
|
||||
string strConn = OPTenantDBConnService.GetConnByORGID(new Guid(FilePathHead.JY.GetDescription()));
|
||||
//string strConn = "Server=124.117.209.78;Database=mh_jy_head;uid=sa;pwd=JySafe@2025*;";
|
||||
using (var context = new MigrationContext(strConn))
|
||||
{
|
||||
Expression<Func<T_SK_BASIC_LIBRARY, bool>> expression = e => !e.IS_DELETED && ids.Contains(e.ID);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user