zoukankan      html  css  js  c++  java
  • 模糊搜索和时间区间搜索

        <!-- 账单编号 -->
                <if test="billListForm.code != null and billListForm.code != ''">
                    AND a.code LIKE CONCAT('%',#{billListForm.code},'%')
                </if>
                <!-- 账单状态 -->
                <if test="billListForm.status != null and billListForm.status != ''">
                    AND a.status = #{billListForm.status}
                </if>
                <!-- 起止时间 -->
                <if test="billListForm.beginDate  != null and billListForm.beginDate != ''">
                    AND a.create_time  <![CDATA[   >=  #{billListForm.beginDate } ]]>
                </if>
                <if test="billListForm.endDate  != null and billListForm.endDate != ''">
                    AND  a.create_time <![CDATA[   <= #{billListForm.endDate } ]]>
                </if>
            </where>   

  • 相关阅读:
    python注释中文
    python学习好文
    浅析python 的import 模块(转)
    Python解释器镜像源修改
    Python解释器安装
    Python和Python解释器
    计算机基础小结
    网络瓶颈效应
    编程语言分类
    子查询|视图事务
  • 原文地址:https://www.cnblogs.com/pai-da-xing/p/8065914.html
Copyright © 2011-2022 走看看