public void EventTriggerProcess(string param) { try { Tracer.Debug(string.Format("在{0} 执行预算自动月结", System.DateTime.Now.ToString("yyyy-MM-dd"))); FBService service = new FBService(); service.CloseBudget(); } catch (Exception ex) { Tracer.Error("自动月结执行出错: " + ex.ToString()); throw ex; } }
public void EventTriggerProcess(string param) { try { Tracer.Warn(string.Format("在{0} 执行预算自动月结", System.DateTime.Now.ToString("yyyy-MM-dd"))); FBService service = new FBService(); service.CloseBudget(); } catch (Exception ex) { Tracer.Error("自动月结执行出错: " + ex.ToString()); throw ex; } }
protected void btnShow0_Click(object sender, EventArgs e) { FBService service = new FBService(); service.CloseBudget(); }
protected void Button3_Click(object sender, EventArgs e) { FBService fs = new FBService(); fs.CloseBudget(); }