diff --git a/JobAutoCreateFee/JobYt2D7Fee.cs b/JobAutoCreateFee/JobYt2D7Fee.cs index 20a1dfbe..a5a3cdb1 100644 --- a/JobAutoCreateFee/JobYt2D7Fee.cs +++ b/JobAutoCreateFee/JobYt2D7Fee.cs @@ -12,6 +12,7 @@ using System.Data.SqlClient; using System.IO; using System.Linq; using System.Text; +using System.Data.Entity; namespace JobCreateFee @@ -36,7 +37,7 @@ namespace JobCreateFee int reqTimeout = Convert.ToInt32(context.JobDetail.JobDataMap.GetString("RequestTimeout")); string YTD7Condition = context.JobDetail.JobDataMap.GetString("YTD7Condition"); string YTD7NoUseCORPID = context.JobDetail.JobDataMap.GetString("YTD7NoUseCORPID"); - + Database.SetInitializer(null); YTFEEHelper.feeName = context.JobDetail.JobDataMap.GetString("feeName"); YTFEEHelper.ydFeeName = context.JobDetail.JobDataMap.GetString("ydFeeName"); YTFEEHelper.secondPrintFeeName = context.JobDetail.JobDataMap.GetString("secondPrintFeeName");