This commit is contained in:
wyw 2025-11-26 20:25:51 +08:00
parent 36a99f40dc
commit fc569622a3

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.YEAR == year && e.TYPE == PlanType.Company && !e.IS_DELETED); var yearPlan = this.GetEntity<T_SE_TRAIN_PLAN>(e => e.YEAR == year && e.TYPE == PlanType.Company && !e.IS_DELETED && e.CREATE_TIME.HasValue && e.CREATE_TIME.Value.Date == dtNow.Date);
if (yearPlan != null) if (yearPlan != null)
{ {
return true; return true;