新版 年度计划 删除 年度触发过滤限制

This commit is contained in:
wyw 2025-11-26 17:10:36 +08:00
parent ad1e6041f7
commit 27fdd92512

View File

@ -1398,7 +1398,7 @@ namespace APT.PP.WebApi.Controllers.Api.PP
{
year++;//超过9月算 制定 明年的代办
}
var yearPlan = this.GetEntity<T_SE_TRAIN_PLAN>(e => e.YEAR == year && e.TYPE == PlanType.Company && !e.IS_DELETED);
var yearPlan = this.GetEntity<T_SE_TRAIN_PLAN>(e => e.TYPE == PlanType.Company && !e.IS_DELETED);//e.YEAR == year &&
if (yearPlan != null)
{
return true;