This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
usingBP.En;
namespaceBP.WF.DTS
{
/// <summary>
/// 修复表单物理表字段长度 的摘要说明
/// </summary>
publicclassDTSAutoRpt:Method
{
/// <summary>
/// 不带有参数的方法
/// </summary>
publicDTSAutoRpt()
{
this.Title="自动报表";
this.Help="放在定时任务里,读取WF_AutoRpt数据配置,想指定的人员推送数据。";
}
/// <summary>
/// 设置执行变量
/// </summary>
/// <returns></returns>
publicoverridevoidInit()
{
}
/// <summary>
/// 当前的操纵员是否可以执行这个方法
/// </summary>
publicoverrideboolIsCanDo
{
get
{
returntrue;
}
}
/// <summary>
/// 执行
/// </summary>
/// <returns>返回执行结果</returns>
publicoverrideobjectDo()
{
//BP.WF.Template.AutoRpts rpts = new AutoRpts();
//rpts.RetrieveAll();
//string html = "执行内容如下:";
//foreach (BP.WF.Template.AutoRpt rpt in rpts)
//{
// if (DataType.IsNullOrEmpty(rpt.StartDT) == false)