apzl_leasing/src_tenwa/com/tenwa/lease/app/quartzmession/CreateVoucherMonthSettlementMission.java
2018-08-16 10:27:46 +08:00

35 lines
1.5 KiB
Java

package com.tenwa.lease.app.quartzmession;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import com.amarsoft.are.util.StringFunction;
import com.base.util.QuartzUtil;
import com.tenwa.voucher.CreateVoucherProcess.CreateVoucherMonthSettlement;
public class CreateVoucherMonthSettlementMission implements Job {
@Override
public void execute(JobExecutionContext arg0) throws JobExecutionException {
String startime = StringFunction.getTodayNow();
try{
CreateVoucherMonthSettlement vouchermanage=new CreateVoucherMonthSettlement();
vouchermanage.CreateVoucher("PZ2018071200000017");//月结手续费--回租
vouchermanage.CreateVoucher("PZ2018080400000104");//月结手续费--直租
vouchermanage.CreateVoucher("PZ2018072100000048");//月结手续费--回租
vouchermanage.CreateVoucher("PZ2018080400000103");//月结手续费--直租
vouchermanage.CreateVoucher("PZ2018071200000016");//月结-确认未实现利息收入--回租
vouchermanage.CreateVoucher("PZ2018080400000102");//月结-确认未实现利息收入--直租
vouchermanage.CreateVoucher("PZ2018072100000055");//日结税金--回租
vouchermanage.CreateVoucher("PZ2018080200000063");//日结税金--直租
QuartzUtil.insertLog(startime,"com.tenwa.lease.app.quartzmession.CreateVoucherMonthSettlementMission", "success", "成功");
} catch (Exception e) {
QuartzUtil.insertLog(startime,"com.tenwa.lease.app.quartzmession.CreateVoucherMonthSettlementMission", "error", "失败");
}
}
}