/// <summary>
        /// 显示调整设备条目
        /// </summary>
        /// <param name="constructTaskItem"></param>
        /// <param name="response"></param>
        /// <param name="database"></param>
        public static void ShowAdjustItem(this ConstructTaskItem constructTaskItem, HttpResponse response, IDatabase database)
        {
            response.WriteTagWithValue("ID", constructTaskItem.ID);
            response.WriteTagWithValue("ProjectID", constructTaskItem.ConstructPlanItem.MemberApplyItem.MemberApply.ProjectID);
            response.WriteTagWithValue("ConstructTaskItemID", constructTaskItem.ID);
            response.WriteTagWithValue("ConstructPlanItemID", constructTaskItem.ConstructPlanItemID);
            response.WriteTagWithValue("CurrentStage", "建设任务" + constructTaskItem.ConstructTask.DocNumber);
            response.WriteTagWithValue("DeviceNumber", constructTaskItem.ConstructPlanItem.DeviceNumber);
            response.WriteTagWithValue("DeviceID", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDeviceID);
            response.WriteTagWithValue("DeviceName", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.DeviceName);
            response.WriteTagWithValue("Price", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.UnitPrice);
            response.WriteTagWithValue("Count", constructTaskItem.Quantity);
            response.WriteTagWithValue("Configuration", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.Configuration);
            response.WriteTagWithValue("MainSpec", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.MainSpec);
            response.WriteTagWithValue("Cost", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.UnitPrice * constructTaskItem.Quantity);
            response.WriteTagWithValue("AdjustType", "未调整");

            var count = constructTaskItem.ConstructPlanItem.MemberApplyItem.Quantity - constructTaskItem.ConstructPlanItem.GetAllocatedCount(database);

            if (count > 0)
            {
                response.WriteTagEnd("Record");
                response.WriteTagBegin("Record");
                response.WriteBegin();
                response.WriteTagWithValue("ID", constructTaskItem.ConstructPlanItemID);
                response.WriteTagWithValue("Count", count);
                response.WriteTagWithValue("ProjectID", constructTaskItem.ConstructPlanItem.MemberApplyItem.MemberApply.ProjectID);
                response.WriteTagWithValue("ConstructTaskItemID", constructTaskItem.ID);
                response.WriteTagWithValue("ConstructPlanItemID", constructTaskItem.ConstructPlanItemID);
                response.WriteTagWithValue("CurrentStage", "建设计划");
                response.WriteTagWithValue("Configuration", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.Configuration);
                response.WriteTagWithValue("MainSpec", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.MainSpec);
                response.WriteTagWithValue("DeviceNumber", constructTaskItem.ConstructPlanItem.DeviceNumber);
                response.WriteTagWithValue("DeviceID", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDeviceID);
                response.WriteTagWithValue("DeviceName", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.DeviceName);
                response.WriteTagWithValue("Price", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.UnitPrice);
                response.WriteTagWithValue("Cost", constructTaskItem.ConstructPlanItem.MemberApplyItem.ApplyDevice.UnitPrice * count);
                response.WriteTagWithValue("AdjustType", "未调整");

            }
        }