南骏 池
5 天以前 3a6f7cb36dff0ec99edddbb53078947fcf08a47e
MES.Service/service/WomcaaManager.cs
@@ -68,8 +68,24 @@
            .IgnoreColumnsNull()
            .ExecuteCommand() > 0;
        if (orUpdate && baOrUpdate) return true;
        // if (orUpdate && baOrUpdate)
        // throw new NotImplementedException("插入或更新失败");
        if (orUpdate && baOrUpdate)
        {
            // 调用存储过程更新用料清单
            db.Ado.ExecuteCommand("exec [dbo].[prc_update_womdab] @outMsg output,@outSum output,@inEdtUserGuid,@inCaaGuid",
                new {
                    outMsg = (string)null,  // 输出参数
                    outSum = (int?)null,     // 输出参数
                    inEdtUserGuid = new Guid("11111111-1111-1111-1111-111111111111"),
                    inCaaGuid = new Guid(mesWomcaa.Guid.ToString())
                });
            return true;
        }
        throw new NotImplementedException("插入或更新失败");
    }
    private bool UpdateData(SqlSugarScope db, Womcaa mesWomcaa,