测试完成

This commit is contained in:
邱敏健
2025-02-18 17:05:31 +08:00
parent 2ac2564bd5
commit 4e4e27f574
3 changed files with 24 additions and 26 deletions
@@ -117,17 +117,19 @@ namespace UFIDA.U8.Framework.Api.ControlObject.ST
logInfo.Debug(domHead.xml); logInfo.Debug(domHead.xml);
logInfo.Debug(domBody.xml); logInfo.Debug(domBody.xml);
logInfo.Debug(domPosition.xml);
} }
logInfo.Debug("执行插入操作..."); logInfo.Debug("执行插入操作...");
var cmd = new Command //var cmd = new Command
{ //{
CommandText = "Select '开始执行插入操作'", // CommandText = "Select '开始执行插入操作'",
ActiveConnection = baseLogin.Connection // ActiveConnection = baseLogin.Connection
}; //};
object rsts = new Recordset(); //object rsts = new Recordset();
cmd.Execute(out rsts); //cmd.Execute(out rsts);
res.bSuccess = co.Insert(sVouchType, domHead, domBody, domPosition, ref errorMsg, baseLogin.Connection, ref vouchId, ref domMsg, bCheck, bBeforCheckStock, bIsRedVouch, sAddedState, bReMote); res.bSuccess = co.Insert(sVouchType, domHead, domBody, null, ref errorMsg, baseLogin.Connection, ref vouchId, ref domMsg, bCheck, bBeforCheckStock, bIsRedVouch, sAddedState, bReMote);
if (res.bSuccess) if (res.bSuccess)
{ {
Binary file not shown.
@@ -1,18 +1,14 @@
{ {
"ddate": "2022-10-25",
"cwhcode": "04",
"cexch_name": "人民币",
"bredvouch": 0,
"brdflag": 1,
"bincost": true,
"cdepcode": "0407",
"cbustype": "普通采购", "cbustype": "普通采购",
"cwhcode": "04",
"ddate": "2025-10-25",
"ccode": "",
"cvencode": "03007",
"cmaker": "demo", "cmaker": "demo",
"cmemo": "", "cmemo": "",
"body": [ "body": [
{ {
"cinvcode": "F010-80102251", "cinvcode": "01019002087",
"iquantity": 10 "iquantity": 10
} }
] ]