培训计划 年度核对

This commit is contained in:
wyw 2025-11-26 20:23:41 +08:00
parent a87b769975
commit 1ce54c8f13

View File

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