This commit is contained in:
2021-07-08 20:34:29 +08:00
parent 7f785d6423
commit e092c6cfb0
24 changed files with 5142 additions and 177 deletions
@@ -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();
}