)))
                .)
            {
                )
            {
                )
            {
                ));
            }
            )
            {
                )))
                .)
            {
                )
            {
                )))
                .)
            {
                )
            {
                 ? page.Value : ; ? rows.Value : ;) * pageSize;;
            )
                )
            {
                 ? )
            {
                ,
                                            qpModel.CourseId,
                                            qpModel.KnowledgeId,
                                            qpModel.Custom_Question_TypeId,
                                            qpModel.DifficultyId,
                                            qpModel.Creator,
                                            qpModel.Creator_Name,
                                            )
                {
                    rootQuestion = null;
                    ].Type);
            ;

].StandardAnswer != null)
                {
                    ].StandardAnswer[];
                        reference_Answer = standardAnswerValue.].StandardAnswer));
                    }
                }
            }

rootQuestion = ;
            rootQuestion.IsMachineScore = ( : );
            rootQuestion.ParentId = ;
            rootQuestion.ScoreRate = ;
            rootQuestion.Status = (;
            ;
            rootQuestion.CollectCount = ;
            rootQuestion.IsExtract = is_Extract ? ( : (;
            )
            {
                ],
                    rootQuestion,
                    rqType);
            }
            ];
                            reference_Answer = standardAnswerValue.;
                childQuestion.IsMachineScore = tempRqType != RealQuestionType.QA ? ( : (;
                childQuestion.ParentId = parentQuestion.Id;
                childQuestion.ScoreRate = currentScore / parentQuestion.Score.Value;
                childQuestion.Status = (;
                ;
                childQuestion.CollectCount = ;
                childQuestion.IsExtract = (;
                )
                {
                    ;
            ];
            ] :  : (,
                    OrderNo = (;
            ],
                    Score = itemScore,
                    ScoreRate = itemScore / currentQuestion.Score.Value,
                    IsAnswer = ,
                    OrderNo = ()
            {
                message = , );
            )
                        {
                            ,
                                    QuestionTitle = realQuestionType == RealQuestionType.RW ? q_option_item.OptionTitle : englishAnswer,
                                    QuestionValue = englishAnswer,
                                    Score = resultItem.TotalScore
                                });
                                )
                                {
                                    )
                        {
                            ,
                                    QuestionTitle = null,
                                    QuestionValue = null,
                                    Score = isTakeScoreFromQuestion ? q_option_item.Score.Value : (resultItem.TotalScore * q_option_item.ScoreRate.Value),
                                    StandardAnswer = q_option_item.ReferenceAnswer
                                });
                            }
                        }
                    }
                    )
            {
                ;
            )
                            {
                                 ? child_q_option_item.OrderNo : (,
                                        QuestionTitle = childRealQuestionType == RealQuestionType.RW ? child_q_option_item.OptionTitle : englishAnswer,
                                        QuestionValue = englishAnswer,
                                        Score = isTakeScoreFromQuestion ? childQv_item.Score.Value : (childResultItem.TotalScore * child_q_option_item.ScoreRate.Value)
                                    });
                                    )
                                    {
                                        )
                            {
                                ,
                                        QuestionTitle = null,
                                        QuestionValue = null,
                                        Score = isTakeScoreFromQuestion ?
                                            (child_q_options.Count ==  ? childQv_item.Score.Value : child_q_option_item.Score.Value)
                                            :
                                            (childResultItem.TotalScore * child_q_option_item.ScoreRate.Value),
                                        StandardAnswer = child_q_option_item.ReferenceAnswer
                                    });
                                }
                            }
                        }
                        break;
                }
                childResultItem.QuestionOptions = questionOptions;
                globalResultItem.ChildQuestionForRenders.Add(childResultItem);
            }
        }
    }
}

Moon.Orm 5.0 (MQL版) 实战实例的更多相关文章

  1. Moon.Orm 5.0 (MQL版)

    Moon.Orm 5.0 (MQL版) 实战实例Moon.Orm 5.0 革命性的设计 打造最便捷的异步分页技术(提供下载) 摘要: 一.建一个项目(以WebForm为例)配置文件配置(注意您自己的路 ...

  2. Moon.Orm 5.0(MQL版)的高性能,将发言权交给你!

    Moon.Orm 5.0性能问题,我将它交给关心它性能的您,让你自己测试,决不让你失望的. Moon.Orm 5.0 (MQL版) 版本维护及下载 (跟踪发布) Moon.Orm 5.0系列文章 火晋 ...

  3. Moon.Orm 5.0 (MQL版) 欣赏另一种Orm的设计风格----大道至简

    Moon.Orm 5.0(MQL版)使用指南(二) 一.使用sql及存储过程 1)使用List<Dictionary<))) 2)MQL 全面接触

  4. Moon.Orm 5.0(MQL版)及之前版本的开源计划

    开源综述:步步开源 Moon.Orm 5.0 (MQL版) 版本维护及下载 (跟踪发布) Moon.Orm 5.0系列文章 Moon.Orm 5.0性能问题,将发言权交给你! 一.5.0目前的情况,步 ...

  5. Moon.Orm 5.0 (MQL版) 驱动开发方案

    Moon.Orm 5.0 (MQL版) 配置说明 这一文中说明了如何配置,如何写自己的驱动.要写自己的驱动方法就是继承基类Db, Db的类结构,点击查看

  6. Moon.Orm 5.0(MQL版)使用指南及代码生成器新版发布

    相关博文1)Moon.Orm 5.0 (MQL版) 配置说明; 2)Moon.Orm 5.0 (MQL版) 版本维护及下载(跟踪发布); 3)Moon.Orm 5.0系列文章;  4)Moon.Orm ...

  7. Moon.Orm 5.0 (MQL版) 实际开发实例Demo

    http://www.cnblogs.com/humble/p/4593133.html  (文章新地址) http://www.cnblogs.com/humble/p/4593133.html  ...

  8. Moon.Orm 5.0(MQL版)分页功能的设计(求指教,邀请您的加入)

    一.分页的分类及分析 1)分页的前置条件: 查询的目标条件.第几页.总页数(本质上由查询条件决定).每页条数.请求地址.按照什么字段怎样排序 2)目标结果: 数据列表,List<T>返回 ...

  9. Moon.Orm 5.0其他额外配置的讲解

    <appSettings>其中的配置</appSettings> AUTO_COMPLIE_DIRECTORY_PATH:自动编译model所用的文件夹路径,格式如:C:\ab ...

随机推荐

  1. 高性能网站架构设计之缓存篇(3)- Redis 的配置

    我们说Redis是一个强大的Key-Value存储系统,在前面我们已遇到了两个问题: 1.redis server 启动后,独占进程,能不能修改为后台服务呢? 2.redis server 服务是单线 ...

  2. 自动备份文件到GITHUB的方法

    由于一个制作着玩的项目需要制作上传文件的功能,自己又不是搞网站的,也不想去维护一个服务器. 于是开发了一个上传服务器,可以自动把我上传到服务器的数据同步到Github服务器 而github服务器又提供 ...

  3. Senparc.Weixin.MP SDK 微信公众平台开发教程(十四):请求消息去重

    为了确保信息请求消息的到达率,微信服务器在没有及时收到响应消息(ResponseMessage)的情况下,会多次发送同一条请求消息(RequestMessage),包括MsgId等在内的所有文本内容都 ...

  4. Linux gcc的安装

    说明:我是在虚拟机里学习的Linux,很多问题也是和虚拟机有关的.今天就遇到了虚拟机安装gcc是一个问题. 首先查看gcc是否安装: 然后安装gcc.(我的错误就出现在这里.) 我用的虚拟机,练习平时 ...

  5. Jetty 9 源码分析 Connector及Server类(一)

    本文的源码基于Jetty9,主要分析了Jetty 的Connector与Server类间在Jetty启动过程中的一些细节.Jetty9 对以前的Connector体系进行了重构, 结构与6和7都不同, ...

  6. IIS中发布网站的问题

    1.将网站发布到IIS,访问发生如下错误: HTTP 错误 500.21 - Internal Server Error处理程序"PageHandlerFactory-Integr" ...

  7. React Native01-开始 Windows环境安装配置篇

    转载本文章的童鞋请注明原链接. 查阅文档之类的资料,建议到 http://reactnative.cn/ 本人使用环境Win10. 在阅读本文之前,请了解我们安装React Native之前,要安装P ...

  8. DDD~领域服务的规约模式

    回到目录 规 约(Specification)模式:第一次看到这东西是在microsoft NLayer项目中,它是微软对DDD的解说,就像petshop告诉了我们MVC如何使用一样,这个规约模式最重 ...

  9. MVVM架构~Knockoutjs系列之验证机制的引入

    返回目录 对于Knockoutjs本身来说,没有提供验证模块,不过,有第三方的扩展,就像你为jquery库作extensions一样,这讲中我将介绍一个Knockout插件扩展,knockout.va ...

  10. Atitit java的异常exception 结构Throwable类

    Atitit java的异常exception 结构Throwable类 1.1. Throwable类 2.StackTrace栈轨迹1 1.2. 3.cause因由1 1.3. 4.Suppres ...