From 019d8e3154f6c816dd9c38383504b3da8362db43 Mon Sep 17 00:00:00 2001 From: wangjie <805650258@qq.com> Date: Mon, 31 Jul 2023 09:04:14 +0800 Subject: [PATCH] =?UTF-8?q?#=E8=BD=AC=E6=AD=A3=E3=80=81=E8=B0=83=E5=8A=A8?= =?UTF-8?q?=E3=80=81=E7=A6=BB=E8=81=8C=E5=BB=BA=E6=A8=A1=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../interfaces/shuzhi/cronjob/RelationshipReminderJob.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/weaver/interfaces/shuzhi/cronjob/RelationshipReminderJob.java b/src/weaver/interfaces/shuzhi/cronjob/RelationshipReminderJob.java index 05dc775..992e9a7 100644 --- a/src/weaver/interfaces/shuzhi/cronjob/RelationshipReminderJob.java +++ b/src/weaver/interfaces/shuzhi/cronjob/RelationshipReminderJob.java @@ -83,7 +83,7 @@ public class RelationshipReminderJob extends BaseCronJob { if (compareDateLessEquation(sxrq,date) && compareDateEquation(datebefore,gdrq)) { //1、生效日期小于等于当前日期,当前日期 - 1 = 归档日期,更新人力资源表单(hrmresource)、入职管理建模表(uf_rzgljmb) - zt = updateZZHrmStatus(userid, "1", date); + zt = updateZZHrmStatus(userid, "1", sxrq); } if(!compareDateLessEquation(sxrq,date) && compareDateEquation(date,sxrq)){ @@ -126,7 +126,7 @@ public class RelationshipReminderJob extends BaseCronJob { if (compareDateLessEquation(sxrq,date)&&compareDateEquation(datebefore,gdrq)) { //2、生效日期小于等于当前日期,当前日期-1 =归档日期,根据记录数据更新数据 //更新hrmresource表(岗位、部门)、入职管理建模表uf_rzgljmb(岗位、职级名称、部门、公司名称-分部) - zt = updateDDHrmStatus(userid, date, xgw, xbm, xfb, zj); + zt = updateDDHrmStatus(userid, sxrq, xgw, xbm, xfb, zj); } if(!compareDateLessEquation(sxrq,date)&&compareDateEquation(date,gdrq)){ @@ -162,7 +162,7 @@ public class RelationshipReminderJob extends BaseCronJob { if (compareDateLessEquation(sxrq,date)&&compareDateEquation(datebefore,gdrq)) { //2、生效日期小于等于当前日期,当前日期=归档日期+1天,根据记录数据更新数据 - zt = updateLZHrmStatus(userid, "5", date); + zt = updateLZHrmStatus(userid, "5", sxrq); } if(!compareDateLessEquation(sxrq,date)&&compareDateEquation(date,gdrq)){