20210708
This commit is contained in:
@@ -29,7 +29,7 @@ namespace FineUIPro.Web.ZHGL.RealName
|
||||
var getproject = ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
|
||||
if (getproject != null)
|
||||
{
|
||||
this.drpProject.SelectedValue = getproject.ProjectCode;
|
||||
this.drpProject.SelectedValue = getproject.JTProjectCode;
|
||||
this.drpProject.Readonly = true;
|
||||
}
|
||||
}
|
||||
@@ -190,7 +190,28 @@ namespace FineUIPro.Web.ZHGL.RealName
|
||||
/// <param name="e"></param>
|
||||
protected void btnDatabaseGo4_Click(object sender, EventArgs e)
|
||||
{
|
||||
ShowNotify(BLL.SynchroSetService.getProject(), MessageBoxIcon.Information);
|
||||
List<string> getCodeList = new List<string>();
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||
{
|
||||
var getProject = ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
|
||||
if (getProject != null)
|
||||
{
|
||||
getCodeList.Add(getProject.JTProjectCode);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
getCodeList = Funs.DB.RealName_SynchroSet.Select(x => x.ProCode).ToList();
|
||||
}
|
||||
if (getCodeList != null && getCodeList.Count() > 0)
|
||||
{
|
||||
string info = string.Empty;
|
||||
foreach (var item in getCodeList)
|
||||
{
|
||||
info += "项目[" + item + "]" + SynchroSetService.getProject(item);
|
||||
}
|
||||
ShowNotify(info, MessageBoxIcon.Information);
|
||||
}
|
||||
this.BindGrid4();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user