惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
P
Proofpoint News Feed
L
LangChain Blog
C
Check Point Blog
F
Fortinet All Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
Recent Announcements
Recent Announcements
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
Netflix TechBlog - Medium
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
U
Unit 42
The Cloudflare Blog
月光博客
月光博客
有赞技术团队
有赞技术团队
G
Google Developers Blog
Vercel News
Vercel News

博客园 - superstar

我的抽奖系统 CRM 后台管理 计件系统 -.netcore-审批人 计件系统 win10家庭版怎么打开组策略编辑器 触发值更新 求类似这个Excel的甘特国科项目模板 简单帐表双击打开直接SQL账表 安装补丁的时候提示“无法连接,需要安装K3CloudManager服务”,该服务怎么安装? sql 开窗函数 需要基本单位实发数量!= 主库存基本单位实发数量 就不报这个错 邮件服务器设置 结合实例来分析SQL的窗口函数 sql 逐行累加 如何设置而是采购员默认值 BOSS语句整理!!!花了两个小时!!! 金蝶版本升级例如 6.2 升级成8.0 建议先升级个7.0过滤版本再升级8.0 金蝶云星空MRP运算测试 oracle使用exp/imp导入导出(用户) 1.Spring Boot创建SSM(IDEA+ORACLE) springboot整合mybatis实现多表查询的实战记录 .NET 6 使用JWT Bearer认证和授权的步骤 一年级拼音练习题
SQL账表实现超始日期为最近7天
superstar · 2023-07-31 · via 博客园 - superstar

    [HotUpdate]
    /// <sumnary>/// 关联方往来对账表过源框插件
    ///</summary>
    [Description("客户对账表过滤框插件")]
    public class InnerCheckFilter : AbstractCommonFilterPlugIn
    {
        public override void BeforeBindData(EventArgs e)
        {
            base.BeforeBindData(e);
            SQLReportFilterModel sqlModel = this.Model as SQLReportFilterModel;
                if (sqlModel==null)
                {
                    return;
                }
            var sqlfilterFlds = sqlModel.SQLFilterObject.FilterFieldList.FirstOrDefault(x=>x.KeyWord== "@sdate@");
            if (sqlfilterFlds!=null)
            {
                sqlfilterFlds.DefaultValue= DateTime.Now.AddDays(-7).ToString("yyyy-MM-dd");
            }



           
        } 
    }

posted @ 2023-07-31 19:53  superstar  阅读(50)  评论()    收藏  举报