增加计费时间的搜索

This commit is contained in:
wuweihua
2026-10-12 16:41:39 +08:00
parent a115926e9f
commit 3456a0bf7f
5 changed files with 63 additions and 7 deletions
@@ -314,6 +314,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="bizDate != null">
AND p.biz_date = #{bizDate}
</if>
<if test="params.beginBizDate != null and params.beginBizDate != ''">
AND p.biz_date &gt;= #{params.beginBizDate}
</if>
<if test="params.endBizDate != null and params.endBizDate != ''">
AND p.biz_date &lt;= #{params.endBizDate}
</if>
<if test="params.beginTime != null and params.beginTime != ''">
AND date_format(p.create_time,'%y%m%d') &gt;= date_format(#{params.beginTime},'%y%m%d')
</if>