代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using AspNet = System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
public partial class BaseFactoryEdit: PageBase
|
||||
public partial class BaseFactoryEdit : PageBase
|
||||
{
|
||||
#region
|
||||
/// <summary>
|
||||
@@ -32,7 +27,7 @@ namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
this.FactoryId = Request.Params["FactoryId"];
|
||||
@@ -68,7 +63,7 @@ namespace FineUIPro.Web.BaseInfo
|
||||
table.FactoryCode = this.txtFactoryCode.Text;
|
||||
table.FactoryName = this.txtFactoryName.Text;
|
||||
table.Address = this.txtAddress.Text;
|
||||
table.MapCoordinates=this.txtMapCoordinates.Text;
|
||||
table.MapCoordinates = this.txtMapCoordinates.Text;
|
||||
if (string.IsNullOrEmpty(this.FactoryId))
|
||||
{
|
||||
table.FactoryId = SQLHelper.GetNewID(typeof(Model.Base_Factory));
|
||||
@@ -86,9 +81,9 @@ namespace FineUIPro.Web.BaseInfo
|
||||
{
|
||||
bool result = true;
|
||||
var model = BLL.Base_FactoryService.GetBase_FactoryByCode(this.txtFactoryCode.Text);
|
||||
if(model != null && model.FactoryId !=this.FactoryId)
|
||||
if (model != null && model.FactoryId != this.FactoryId)
|
||||
{
|
||||
result=false;
|
||||
result = false;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user