diff --git a/src_tenwa/com/tenwa/lease/app/quartzmession/CorpusSourceFundIncomeCreateVoucherJob.java b/src_tenwa/com/tenwa/lease/app/quartzmession/CorpusSourceFundIncomeCreateVoucherJob.java index 72bbf2465..5abfbbe19 100644 --- a/src_tenwa/com/tenwa/lease/app/quartzmession/CorpusSourceFundIncomeCreateVoucherJob.java +++ b/src_tenwa/com/tenwa/lease/app/quartzmession/CorpusSourceFundIncomeCreateVoucherJob.java @@ -24,9 +24,9 @@ public class CorpusSourceFundIncomeCreateVoucherJob implements Job { VoucherInfoService voucher = new FundIncomeVoucherPSBC(); voucher.run(); - QuartzUtil.insertLog(startime,"com.tenwa.comm.message.controller.BusinessCancelJob", "success", "成功", curUserId); + QuartzUtil.insertLog(startime,"com.tenwa.lease.app.quartzmession.CorpusSourceFundIncomeCreateVoucherJob", "success", "成功", curUserId); } catch (Exception e) { - QuartzUtil.insertLog(startime,"com.tenwa.comm.message.controller.BusinessCancelJob", "error", "失败", curUserId); + QuartzUtil.insertLog(startime,"com.tenwa.lease.app.quartzmession.CorpusSourceFundIncomeCreateVoucherJob", "error", "失败", curUserId); } } diff --git a/src_tenwa/com/tenwa/lease/app/quartzmession/CreateVoucherRentIncomeMission.java b/src_tenwa/com/tenwa/lease/app/quartzmession/CreateVoucherRentIncomeMission.java index eaf865943..07792a107 100644 --- a/src_tenwa/com/tenwa/lease/app/quartzmession/CreateVoucherRentIncomeMission.java +++ b/src_tenwa/com/tenwa/lease/app/quartzmession/CreateVoucherRentIncomeMission.java @@ -1,5 +1,6 @@ package com.tenwa.lease.app.quartzmession; +import org.quartz.DisallowConcurrentExecution; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; @@ -11,6 +12,7 @@ import com.tenwa.voucher.CreateVoucherProcess.InsertVoucherRentIncome; * 生成卡扣凭证明细-定时任务 * @author xiezhiwen */ +@DisallowConcurrentExecution public class CreateVoucherRentIncomeMission implements Job { @Override @@ -29,9 +31,9 @@ public class CreateVoucherRentIncomeMission implements Job { InsertVoucherRentIncome ivri=new InsertVoucherRentIncome(); ivri.execute(); - QuartzUtil.insertLog(startime,"com.tenwa.comm.message.controller.BusinessCancelJob", "success", "成功", curUserId); + QuartzUtil.insertLog(startime,"com.tenwa.lease.app.quartzmession.CreateVoucherRentIncomeMission", "success", "成功", curUserId); } catch (Exception e) { - QuartzUtil.insertLog(startime,"com.tenwa.comm.message.controller.BusinessCancelJob", "error", "失败", curUserId); + QuartzUtil.insertLog(startime,"com.tenwa.lease.app.quartzmession.CreateVoucherRentIncomeMission", "error", "失败", curUserId); } }