提交代码
This commit is contained in:
@@ -1317,11 +1317,12 @@ namespace FineUIPro.Web.CQMS.Performance
|
||||
if (e.EventArgument == "Confirmgd_OK")
|
||||
{
|
||||
// 根据日期查询是否有数据
|
||||
var modelSum = Funs.DB.CQMS_Performance.Where(x => x.CreateDateMonth == drpCompileDateMonth.Text.Trim()).FirstOrDefault();
|
||||
var modelSum = Funs.DB.CQMS_Performance.Where(x => x.CreateDateMonth == drpCompileDateMonth.Text.Trim()
|
||||
&& x.ProjectId == CurrUser.LoginProjectId && x.CreateMan == CreateUser).FirstOrDefault();
|
||||
if (modelSum != null)
|
||||
{
|
||||
//删除数据
|
||||
PerformanceService.Delete(modelSum.CreateDateMonth);
|
||||
PerformanceService.Delete(modelSum.PerformanceGid);
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PerformanceEdit.aspx?CreateDateMonth="
|
||||
+ drpCompileDateMonth.Text.Trim(), ""), "新增", Unit.Parse("1000px"), Unit.Parse("800px")));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user