代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.HJGL.PreDesign
|
||||
{
|
||||
@@ -23,14 +18,14 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
}
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
if (!IsPostBack)
|
||||
{
|
||||
YardPlanningId=Request.Params["YardPlanningId"];
|
||||
string Type= Request.Params["Type"];
|
||||
YardPlanningId = Request.Params["YardPlanningId"];
|
||||
string Type = Request.Params["Type"];
|
||||
if (!string.IsNullOrEmpty(Type))
|
||||
{
|
||||
|
||||
if (Type=="Edit")
|
||||
|
||||
if (Type == "Edit")
|
||||
{
|
||||
var q = BLL.HJGL_YardPlanningService.GetHJGL_YardPlanningById(YardPlanningId);
|
||||
txtYardPlanName.Text = q.YardPlanName;
|
||||
@@ -64,7 +59,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
|
||||
else if (Type == "Edit")
|
||||
{
|
||||
var q = BLL.HJGL_YardPlanningService.GetHJGL_YardPlanningById(YardPlanningId);
|
||||
q.YardPlanName=txtYardPlanName.Text ;
|
||||
q.YardPlanName = txtYardPlanName.Text;
|
||||
HJGL_YardPlanningService.UpdateHJGL_YardPlanning(q);
|
||||
}
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
|
||||
|
||||
Reference in New Issue
Block a user