数据穿透
This commit is contained in:
@@ -61,7 +61,8 @@ namespace FineUIPro.Web.HSSE.License
|
||||
{
|
||||
this.InitDropDownList();
|
||||
}
|
||||
this.txtLicenseManagerCode.Text = BLL.CodeRecordsService.ReturnCodeByDataId(this.LicenseManagerId);
|
||||
this.txtLicenseManagerCode.Text = licenseManager.LicenseManagerCode;
|
||||
//this.txtLicenseManagerCode.Text = BLL.CodeRecordsService.ReturnCodeByDataId(this.LicenseManagerId);
|
||||
//this.txtLicenseManageName.Text = licenseManager.LicenseManageName;
|
||||
if (!string.IsNullOrEmpty(licenseManager.UnitId))
|
||||
{
|
||||
@@ -126,6 +127,12 @@ namespace FineUIPro.Web.HSSE.License
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.SaveData(BLL.Const.BtnSave);
|
||||
var porject = BLL.ProjectService.GetProjectByProjectId(this.ProjectId);
|
||||
if (!string.IsNullOrWhiteSpace(porject.SubjectUnit) && !string.IsNullOrWhiteSpace(porject.SubjectProject))
|
||||
{//项目关联了总包单位项目,保存成功后自动推送至总包单位
|
||||
BLL.APILicenseSyncService.PushLicenseManagerLists(this.ProjectId, this.LicenseManagerId);
|
||||
}
|
||||
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user