Beispiel #1
0
        //查询工具功能测试
        public DataTable toolFunctionTestQuery(String orderId)
        {
            ToolFunctionTestDB toolFunctionTestDb = new ToolFunctionTestDB();
            DataSet            ds = toolFunctionTestDb.toolFunctionTestQuery(orderId);

            if (ds.Tables[0].Rows.Count > 0)
            {
                return(ds.Tables[0]);
            }
            else
            {
                return(null);
            }
        }
Beispiel #2
0
        //修改工具功能测试
        public int toolFunctionTestUpdate(List <int> toolFunctionTestStatue, List <String> toolFunctionTestComment, String orderId)
        {
            ToolFunctionTestDB toolFunctionTestDb = new ToolFunctionTestDB();

            if (toolFunctionTestStatue.Count < 6)
            {
                for (int i = toolFunctionTestStatue.Count; i < 6; i++)
                {
                    toolFunctionTestStatue.Add(0);
                    toolFunctionTestComment.Add(null);
                }
            }

            return(toolFunctionTestDb.toolFunctionTestUpdate(toolFunctionTestStatue, toolFunctionTestComment, orderId));
        }
Beispiel #3
0
        //创建工具功能测试
        public int toolFunctionTestCreate(String orderId)
        {
            ToolFunctionTestDB toolFunctionTestDb = new ToolFunctionTestDB();

            return(toolFunctionTestDb.toolFunctionTestCreate(orderId));
        }