修复Json数据出错的问题

This commit is contained in:
2025-12-04 10:00:52 +08:00
parent a9f8779273
commit 32fc5d0e20
10 changed files with 42 additions and 22 deletions

View File

@@ -67,12 +67,13 @@ namespace Gatedge.K3Cloud.Utils
);
this._userInfo = User;
_cloudApi.LoginByAppSecret(
DBID,
userName,
kingdeeOption?.AppID,
kingdeeOption?.AppSec,
lcId);
var loginInfo = _cloudApi.LoginByAppSecret(
DBID,
userName,
kingdeeOption?.AppID,
kingdeeOption?.AppSec,
lcId
);
}

View File

@@ -6830,16 +6830,16 @@ where FBILLNO = '{0}' and FSEQ = '{1}'", obj["BILLCODE"].ToString(), obj["BILLSE
// 以下非标准字段
newObj["FMoEntryId_Id"] = item["FMOENTRYIDToBar_Id"];
newObj["FMoEntryId"] = item["FMOENTRYIDToBar"];
newObj["FBillId_Id"] = billId["Id"];
newObj["FBillId"] = billId;
newObj["FMinPackCount"] = item["FMinPackCountToBar"];
newObj["FMUJU_Id"] = item["FMUJUToBar_Id"];
newObj["FMUJU"] = item["FMUJUToBar"];
newObj["F_JT_Id"] = item["F_JTToBar_Id"];
newObj["F_JT"] = item["F_JTToBar"];
newObj["F_BZFS"] = item["F_BZFSToBar"];
//newObj["FMoEntryId_Id"] = item["FMOENTRYIDToBar_Id"];
//newObj["FMoEntryId"] = item["FMOENTRYIDToBar"];
//newObj["FBillId_Id"] = billId["Id"];
//newObj["FBillId"] = billId;
//newObj["FMinPackCount"] = item["FMinPackCountToBar"];
//newObj["FMUJU_Id"] = item["FMUJUToBar_Id"];
//newObj["FMUJU"] = item["FMUJUToBar"];
//newObj["F_JT_Id"] = item["F_JTToBar_Id"];
//newObj["F_JT"] = item["F_JTToBar"];
//newObj["F_BZFS"] = item["F_BZFSToBar"];
ObjList.Add(newObj);
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gatedge.ScanCode.Basis.PlugIn.Bill.BAR_BarCodePrint.FormPlugIn
{
internal class FileName
{
}
}

View File

@@ -88,9 +88,18 @@
<Reference Include="Kingdee.K3.BD.BarCode.App.Core">
<HintPath>..\Library\Kingdee.K3.BD.BarCode.App.Core.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.BD.BarCode.App.ServicePlugIn">
<HintPath>..\Library\Kingdee.K3.BD.BarCode.App.ServicePlugIn.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.BD.BarCode.Business.DynamicForm">
<HintPath>..\Library\Kingdee.K3.BD.BarCode.Business.DynamicForm.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.BD.BarCode.Business.PlugIn">
<HintPath>..\Library\Kingdee.K3.BD.BarCode.Business.PlugIn.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.BD.BarCode.Contracts">
<HintPath>..\Library\Kingdee.K3.BD.BarCode.Contracts.dll</HintPath>
</Reference>
<Reference Include="Kingdee.K3.BD.BarCode.Core">
<HintPath>..\Library\Kingdee.K3.BD.BarCode.Core.dll</HintPath>
</Reference>
@@ -181,6 +190,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Bill\BAR_BarCodePrint\FormPlugIn\BarCodePrintEditRewrite.cs" />
<Compile Include="Bill\BAR_BarCodePrint\FormPlugIn\FileName.cs" />
<Compile Include="Bill\BAR_Record\ServicePlugIn\Save.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>

View File

@@ -152,9 +152,6 @@ namespace Gatedge.ScanCode.Controllers
FormId = "SEC_User",
FieldKeys = "FUserID,FName,FUserAccount,FOrgOrgId,FOrgOrgId.FNumber,FOrgOrgName",
};
FilterList filterString = new FilterList();
FilterItem FNameItem = new FilterItem("FUserAccount", "67", dataCenter.UserName, "0");
filterString.AddFilterItem(FNameItem);
queryParam.FilterString = $"FUserAccount = '{dataCenter.UserName}'";
var resultList = _utils.QueryList(queryParam);
return AjaxResult.Success(resultList.List);

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<NameOfLastUsedPublishProfile>D:\格致金蝶\澳门新东方置地\Gatedge.NewOrientLandMark.BOS\Gatedge.ScanCode\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>E:\项目代码\澳门新东方\Gatedge.NewOrientLandMark.BOS\Gatedge.ScanCode\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
</PropertyGroup>
</Project>

View File

@@ -22,9 +22,9 @@
"Kingdee": {
"Default": [
{
"AcctID": "691daf73ebf580",
"AcctID": "69265c9384dc7a",
"AppID": "NewOrient_TEST_API",
"AppSec": "d0ed3330411243b0a823f00f8bd2f49a",
"AppSec": "816eb1781925449b960c7c0f3459271e",
"UserName": "ERP1",
"LCID": 3076,
"ServerUrl": "http://127.0.0.1/k3cloud",

Binary file not shown.

Binary file not shown.

Binary file not shown.