测试完成
This commit is contained in:
@@ -117,17 +117,19 @@ namespace UFIDA.U8.Framework.Api.ControlObject.ST
|
||||
logInfo.Debug(domHead.xml);
|
||||
|
||||
logInfo.Debug(domBody.xml);
|
||||
|
||||
logInfo.Debug(domPosition.xml);
|
||||
}
|
||||
|
||||
logInfo.Debug("执行插入操作...");
|
||||
var cmd = new Command
|
||||
{
|
||||
CommandText = "Select '开始执行插入操作'",
|
||||
ActiveConnection = baseLogin.Connection
|
||||
};
|
||||
object rsts = new Recordset();
|
||||
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);
|
||||
//var cmd = new Command
|
||||
//{
|
||||
// CommandText = "Select '开始执行插入操作'",
|
||||
// ActiveConnection = baseLogin.Connection
|
||||
//};
|
||||
//object rsts = new Recordset();
|
||||
//cmd.Execute(out rsts);
|
||||
res.bSuccess = co.Insert(sVouchType, domHead, domBody, null, ref errorMsg, baseLogin.Connection, ref vouchId, ref domMsg, bCheck, bBeforCheckStock, bIsRedVouch, sAddedState, bReMote);
|
||||
|
||||
if (res.bSuccess)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user